public static interface

ObjectCellSwipeControl.ObjectCellSwipeListener

com.sap.cloud.mobile.fiori.object.ObjectCellSwipeControl.ObjectCellSwipeListener

Class Overview

The listener interface which the user should implement in an activity for actions corresponding to swiping gestures.

Summary

Public Methods
abstract String getLeftKey(RecyclerView.ViewHolder viewHolder)
abstract String getRightKey(RecyclerView.ViewHolder viewHolder)
abstract void onSwipeToLeft(RecyclerView.ViewHolder viewHolder, int position)
abstract void onSwipeToRight(RecyclerView.ViewHolder viewHolder, int position)

Public Methods

public abstract String getLeftKey (RecyclerView.ViewHolder viewHolder)

public abstract String getRightKey (RecyclerView.ViewHolder viewHolder)

public abstract void onSwipeToLeft (RecyclerView.ViewHolder viewHolder, int position)

public abstract void onSwipeToRight (RecyclerView.ViewHolder viewHolder, int position)