Пример #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;
 }
Пример #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();
  }
Пример #3
0
 @Override
 public void onDetach() {
   // TODO Auto-generated method stub
   super.onDetach();
 }
Пример #4
0
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   init();
 }
Пример #5
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   // TODO Auto-generated method stub
   super.onCreate(savedInstanceState);
 }
Пример #6
0
 @Override
 public void onAttach(Activity activity) {
   // TODO Auto-generated method stub
   super.onAttach(activity);
 }
Пример #7
0
 @Override
 public void onRowPressed(View view, Object item) {
   extrasMenu.forceHide();
   super.addFirst(item, ItemType.SONG);
 }
Пример #8
0
 @Override
 public void onArtLongPressed(View view, Object item) {
   extrasMenu.forceHide();
   super.sendToDetails(DetailsFragmentType.ALBUM_DETAILS, item);
 }