public interface IListActionListener
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_CLOSED
The action buttons are not visible
|
static int |
STATUS_OPENED
The action buttons are visible.
|
static int |
STATUS_SWIPED
The cell is fully swiped away.
|
static int |
SWIPE_LEFT_TO_RIGHT
A swipe gesture from left to right.
|
static int |
SWIPE_RIGHT_TO_LEFT
A swipe gesture from right to left.
|
Modifier and Type | Method and Description |
---|---|
void |
onActionButtonClicked(int row,
nUIActionButton button)
will be called when an action button has been clicked.
|
void |
onActionButtonsClosed(int row)
Will be called when action buttons have been closed.
|
void |
onActionButtonsOpened(int row,
int type)
Will be called when the cell has been swiped to the left position and action buttons became visible.
|
void |
onSwiped(int row,
int type)
Will be called when the cell has been completely swiped.
|
static final int SWIPE_LEFT_TO_RIGHT
static final int SWIPE_RIGHT_TO_LEFT
static final int STATUS_SWIPED
static final int STATUS_OPENED
static final int STATUS_CLOSED
void onActionButtonClicked(int row, nUIActionButton button)
row
- - the corresponding row.button
- - the action button.void onActionButtonsOpened(int row, int type)
row
- - the target row.type
- - one of SWIPE_LEFT_TO_RIGHT
or SWIPE_RIGHT_TO_LEFT
.void onActionButtonsClosed(int row)
row
- - the corresponding rowvoid onSwiped(int row, int type)
row
- - the corresponding row.type
- - one of SWIPE_LEFT_TO_RIGHT
or SWIPE_RIGHT_TO_LEFT
.