Search in sources :

Example 1 with SectionedAdapter

use of com.simplecity.amp_library.ui.adapters.SectionedAdapter 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();
}
Also used : SectionedAdapter(com.simplecity.amp_library.ui.adapters.SectionedAdapter) FragmentModule(com.simplecity.amp_library.dagger.module.FragmentModule)

Example 2 with SectionedAdapter

use of com.simplecity.amp_library.ui.adapters.SectionedAdapter in project Shuttle by timusus.

the class GenreFragment method onCreate.

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    adapter = new SectionedAdapter();
}
Also used : SectionedAdapter(com.simplecity.amp_library.ui.adapters.SectionedAdapter)

Example 3 with SectionedAdapter

use of com.simplecity.amp_library.ui.adapters.SectionedAdapter 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();
}
Also used : SectionedAdapter(com.simplecity.amp_library.ui.adapters.SectionedAdapter) FragmentModule(com.simplecity.amp_library.dagger.module.FragmentModule)

Example 4 with SectionedAdapter

use of com.simplecity.amp_library.ui.adapters.SectionedAdapter in project Shuttle by timusus.

the class SongFragment method onCreate.

@Override
public void onCreate(final Bundle icicle) {
    super.onCreate(icicle);
    setHasOptionsMenu(true);
    adapter = new SectionedAdapter();
    shuffleView = new ShuffleView();
    shuffleView.setClickListener(this);
}
Also used : SectionedAdapter(com.simplecity.amp_library.ui.adapters.SectionedAdapter) ShuffleView(com.simplecity.amp_library.ui.modelviews.ShuffleView)

Aggregations

SectionedAdapter (com.simplecity.amp_library.ui.adapters.SectionedAdapter)4 FragmentModule (com.simplecity.amp_library.dagger.module.FragmentModule)2 ShuffleView (com.simplecity.amp_library.ui.modelviews.ShuffleView)1