mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-04 23:28:19 -05:00
Rename the ExpListNavDrawerFragment
This commit is contained in:
parent
18c9df404e
commit
0e7680ca9e
@ -37,7 +37,7 @@ public class BibleViewer extends BaseActivity implements
|
||||
* Fragment managing the behaviors, interactions and presentation of the
|
||||
* navigation drawer.
|
||||
*/
|
||||
private ExpListNavDrawerFragment mNavigationDrawerFragment;
|
||||
private BookChapterNavFragment mNavigationDrawerFragment;
|
||||
/**
|
||||
* Used to store the last screen title. For use in
|
||||
* {@link #restoreActionBar()}.
|
||||
@ -93,7 +93,7 @@ public class BibleViewer extends BaseActivity implements
|
||||
.commit();
|
||||
setContentView(R.layout.activity_bible_viewer);
|
||||
|
||||
mNavigationDrawerFragment = (ExpListNavDrawerFragment) getSupportFragmentManager()
|
||||
mNavigationDrawerFragment = (BookChapterNavFragment) getSupportFragmentManager()
|
||||
.findFragmentById(R.id.navigation_drawer);
|
||||
mTitle = getTitle();
|
||||
|
||||
|
@ -25,7 +25,7 @@ import rx.functions.Func1;
|
||||
injects = {
|
||||
BibleViewer.class,
|
||||
BookFragment.class,
|
||||
ExpListNavDrawerFragment.class
|
||||
BookChapterNavFragment.class
|
||||
},
|
||||
includes = VerseLookupModules.class
|
||||
)
|
||||
|
@ -22,7 +22,7 @@ import javax.inject.Named;
|
||||
* and trying to getActivity() as BibleViewer yielded TypeCastException
|
||||
* TODO: Extend BaseExpNavigationDrawerFragment?
|
||||
*/
|
||||
public class ExpListNavDrawerFragment extends NavDrawerFragment {
|
||||
public class BookChapterNavFragment extends NavDrawerFragment {
|
||||
|
||||
@Inject @Named("MainBook")
|
||||
Book mainBook;
|
@ -32,7 +32,7 @@
|
||||
|
||||
<fragment
|
||||
android:id="@+id/navigation_drawer"
|
||||
android:name="org.bspeice.minimalbible.activity.viewer.ExpListNavDrawerFragment"
|
||||
android:name="org.bspeice.minimalbible.activity.viewer.BookChapterNavFragment"
|
||||
android:layout_width="@dimen/navigation_drawer_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
|
@ -7,6 +7,6 @@
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="@android:color/transparent"
|
||||
android:dividerHeight="0dp"
|
||||
tools:context="org.bspeice.minimalbible.activity.viewer.ExpListNavDrawerFragment">
|
||||
tools:context="org.bspeice.minimalbible.activity.viewer.BookChapterNavFragment">
|
||||
|
||||
</ExpandableListView>
|
Loading…
Reference in New Issue
Block a user