/** * Define the OnLongClickListener which will be used for a single item and is called after all internal methods are done * * @param onPreLongClickListener the OnLongClickListener which will be called after a single item was clicked and all internal methods are done * @return this */ public FastAdapterDialog<Item> withOnPreLongClickListener(OnLongClickListener<Item> onPreLongClickListener) { this.mFastAdapter.withOnPreLongClickListener(onPreLongClickListener); return this; }
/** * Define the OnLongClickListener which will be used for a single item and is called after all internal methods are done * * @param onPreLongClickListener the OnLongClickListener which will be called after a single item was clicked and all internal methods are done * @return this */ public FastAdapterBottomSheetDialog<Item> withOnPreLongClickListener(OnLongClickListener<Item> onPreLongClickListener) { this.mFastAdapter.withOnPreLongClickListener(onPreLongClickListener); return this; }
mFastAdapter.withOnPreLongClickListener(new OnLongClickListener<SimpleItem>() { @Override public boolean onLongClick(View v, IAdapter<SimpleItem> adapter, SimpleItem item, int position) {
mFastAdapter.withOnPreLongClickListener(new OnLongClickListener<IItem>() { @Override public boolean onLongClick(View v, IAdapter adapter, IItem item, int position) {
.withOnPreLongClickListener(new OnLongClickListener<IItem>() { @Override public boolean onLongClick(View v, IAdapter<IItem> adapter, IItem item, int position) {