diff --git a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewer.java b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewer.java index 6bad3e6..b5d747e 100644 --- a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewer.java +++ b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewer.java @@ -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(); diff --git a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewerModules.java b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewerModules.java index 973c03d..182d766 100644 --- a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewerModules.java +++ b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewerModules.java @@ -25,7 +25,7 @@ import rx.functions.Func1; injects = { BibleViewer.class, BookFragment.class, - ExpListNavDrawerFragment.class + BookChapterNavFragment.class }, includes = VerseLookupModules.class ) diff --git a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/ExpListNavDrawerFragment.java b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BookChapterNavFragment.java similarity index 95% rename from app/src/main/java/org/bspeice/minimalbible/activity/viewer/ExpListNavDrawerFragment.java rename to app/src/main/java/org/bspeice/minimalbible/activity/viewer/BookChapterNavFragment.java index 6aae851..74edc3c 100644 --- a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/ExpListNavDrawerFragment.java +++ b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BookChapterNavFragment.java @@ -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; diff --git a/app/src/main/res/layout/activity_bible_viewer.xml b/app/src/main/res/layout/activity_bible_viewer.xml index 052211f..9f13347 100644 --- a/app/src/main/res/layout/activity_bible_viewer.xml +++ b/app/src/main/res/layout/activity_bible_viewer.xml @@ -32,7 +32,7 @@ + tools:context="org.bspeice.minimalbible.activity.viewer.BookChapterNavFragment"> \ No newline at end of file