mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-07-13 03:35:20 -04:00
Rename the ExpListNavDrawerFragment
This commit is contained in:
@ -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;
|
Reference in New Issue
Block a user