app/src/main/java/fr/neamar/kiss/result/Result.java
/**
     * Default popup menu implementation, can be overridden by children class to display a more specific menu
     *
     * @return an inflated, listener-free PopupMenu
     */
Default popup menu implementation, can be overridden by children class to display a more specific menu
@return an inflated, listener-free PopupMenu
Default popup menu implementation can be overridden by children class to display a more specific menu @return an inflated listener - free PopupMenu
ListPopup buildPopupMenu(Context context, ArrayAdapter<ListPopup.Item> adapter, final RecordAdapter parent, View parentView) {
        adapter.add(new ListPopup.Item(context, R.string.menu_remove));
        adapter.add(new ListPopup.Item(context, R.string.menu_favorites_add));
        adapter.add(new ListPopup.Item(context, R.string.menu_favorites_remove));
        return inflatePopupMenu(adapter, context);
    }
ListPopup buildPopupMenu ( Context context , ArrayAdapter < ListPopup . Item > adapter , final RecordAdapter parent , View parentView ) { adapter . add ( new ListPopup . Item ( context , R . string . menu_remove ) ) ; adapter . add ( new ListPopup . Item ( context , R . string . menu_favorites_add ) ) ; adapter . add ( new ListPopup . Item ( context , R . string . menu_favorites_remove ) ) ; return inflatePopupMenu ( adapter , context ) ; }
Default popup menu implementation, can be overridden by children class to display a more specific menu
 @return an inflated, listener-free PopupMenu
Default popup menu implementation can be overridden by children class to display a more specific menu @return an inflated listener - free PopupMenu