Example #1
0
 @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;
 }
Example #2
0
  /* OnMultiselectListener implementation */
  @Override
  public void onOKPressed() {
    switch (mMultiSelect.bannerState) {
      case ADDING:
        super.addSongList(mSongAdapter.getSelectedSongs(), mMultiSelect.addMode);
        break;

      case PLAYLIST:
        break;
    }

    mSongAdapter.clearSelection();
    setAllUnselected();
  }
Example #3
0
 @Override
 public void onDetach() {
   // TODO Auto-generated method stub
   super.onDetach();
 }
Example #4
0
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   init();
 }
Example #5
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   // TODO Auto-generated method stub
   super.onCreate(savedInstanceState);
 }
Example #6
0
 @Override
 public void onAttach(Activity activity) {
   // TODO Auto-generated method stub
   super.onAttach(activity);
 }
Example #7
0
 @Override
 public void onRowPressed(View view, Object item) {
   extrasMenu.forceHide();
   super.addFirst(item, ItemType.SONG);
 }
Example #8
0
 @Override
 public void onArtLongPressed(View view, Object item) {
   extrasMenu.forceHide();
   super.sendToDetails(DetailsFragmentType.ALBUM_DETAILS, item);
 }