Esempio n. 1
0
 private void setAddAtEndButtonHandler(ButtonLine b) {
   b.setAddAtEndButtonHandler(
       new AddAtEndButtonHandler() {
         @Override
         public void onAddAtEnd() {
           Controller.INSTANCE.addAtEnd(null, albumId, inCollection);
         }
       });
 }
Esempio n. 2
0
 private void setPlayButtonHandler(ButtonLine b) {
   b.setPlayButtonHandler(
       new PlayButtonHandler() {
         @Override
         public void onPlay() {
           Controller.INSTANCE.play(null, albumId, inCollection);
         }
       });
 }
Esempio n. 3
0
 // Handlers for button line
 private void setDeleteButtonHandler(ButtonLine b) {
   b.setDeleteButtonHandler(
       new DeleteButtonHandler() {
         @Override
         public void onDelete() {
           Controller.INSTANCE.deleteTag(inCollection, TagKind.COLLECTION);
         }
       });
 }