@Override public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.multiselect, container, false); super.setExtrasMenuType(ItemType.SONG); mMultiSelect = (MultiSelect) view; mMultiSelect.setOnMultiSelectListener(this); return view; }
/* OnMultiselectListener implementation */ @Override public void onOKPressed() { switch (mMultiSelect.bannerState) { case ADDING: super.addSongList(mSongAdapter.getSelectedSongs(), mMultiSelect.addMode); break; case PLAYLIST: break; } mSongAdapter.clearSelection(); setAllUnselected(); }
@Override public void onDetach() { // TODO Auto-generated method stub super.onDetach(); }
@Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); init(); }
@Override public void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); }
@Override public void onAttach(Activity activity) { // TODO Auto-generated method stub super.onAttach(activity); }
@Override public void onRowPressed(View view, Object item) { extrasMenu.forceHide(); super.addFirst(item, ItemType.SONG); }
@Override public void onArtLongPressed(View view, Object item) { extrasMenu.forceHide(); super.sendToDetails(DetailsFragmentType.ALBUM_DETAILS, item); }