use of io.hefuyi.listener.ui.adapter.SongsListAdapter in project ListenerMusicPlayer by hefuyicoder.
the class PlayRankingFragment method onCreate.
@Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
injectDependences();
mPresenter.attachView(this);
mAdapter = new SongsListAdapter((AppCompatActivity) getActivity(), null, Constants.NAVIGATE_ALLSONG, true);
}
use of io.hefuyi.listener.ui.adapter.SongsListAdapter in project ListenerMusicPlayer by hefuyicoder.
the class SongsFragment method onCreate.
@Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
injectDependences();
mPresenter.attachView(this);
mPreferences = PreferencesUtility.getInstance(getActivity());
if (getArguments() != null) {
action = getArguments().getString(Constants.PLAYLIST_TYPE);
}
mAdapter = new SongsListAdapter((AppCompatActivity) getActivity(), null, action, true);
}
use of io.hefuyi.listener.ui.adapter.SongsListAdapter in project ListenerMusicPlayer by hefuyicoder.
the class FolderSongsFragment method onCreate.
@Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
injectDependences();
mPresenter.attachView(this);
if (getArguments() != null) {
path = getArguments().getString(Constants.FOLDER_PATH);
}
mAdapter = new SongsListAdapter((AppCompatActivity) getActivity(), null, Constants.NAVIGATE_ALLSONG, true);
}
Aggregations