use of com.simplecity.amp_library.dagger.module.FragmentModule in project Shuttle by timusus.
the class AlbumArtistFragment method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ShuttleApplication.getInstance().getAppComponent().plus(new FragmentModule(this)).inject(this);
setHasOptionsMenu(true);
adapter = new SectionedAdapter();
}
use of com.simplecity.amp_library.dagger.module.FragmentModule in project Shuttle by timusus.
the class QueuePagerFragment method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
viewModelAdapter = new ViewModelAdapter();
ShuttleApplication.getInstance().getAppComponent().plus(new FragmentModule(this)).inject(this);
}
use of com.simplecity.amp_library.dagger.module.FragmentModule in project Shuttle by timusus.
the class AlbumFragment method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ShuttleApplication.getInstance().getAppComponent().plus(new FragmentModule(this)).inject(this);
setHasOptionsMenu(true);
adapter = new SectionedAdapter();
}
use of com.simplecity.amp_library.dagger.module.FragmentModule in project Shuttle by timusus.
the class QueueFragment method onCreate.
@Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ShuttleApplication.getInstance().getAppComponent().plus(new FragmentModule(this)).inject(this);
setHasOptionsMenu(true);
adapter = new ViewModelAdapter();
}
use of com.simplecity.amp_library.dagger.module.FragmentModule in project Shuttle by timusus.
the class SuggestedFragment method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ShuttleApplication.getInstance().getAppComponent().plus(new FragmentModule(this)).inject(this);
adapter = new ViewModelAdapter();
mostPlayedRecyclerView = new HorizontalRecyclerView("SuggestedFragment - mostPlayed");
favoriteRecyclerView = new HorizontalRecyclerView("SuggestedFragment - favorite");
}
Aggregations