Back to project page task-timer-legacy.
The source code is released under:
GNU General Public License
If you think the Android project task-timer-legacy listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.gawdl3y.android.actionablelistview; /*from ww w . ja v a 2 s .c o m*/ /** * Stores all information needed to create a {@code MenuItem} for the {@code ActionMode} started by an {@code ActionableListView} * @author Schuyler Cebulskie */ public class ActionItem { private int mActionType = -1; private int mPosition; private int mIconResource; private int mTitleResource; public ActionItem(int actionType, int position, int iconRes, int titleRes) { mActionType = actionType; mPosition = position; mIconResource = iconRes; mTitleResource = titleRes; } public int getActionType() { return mActionType; } public void setActionType(int actionType) { mActionType = actionType; } public int getPosition() { return mPosition; } public void setPosition(int position) { mPosition = position; } public int getIconResource() { return mIconResource; } public void setIconResource(int iconResource) { mIconResource = iconResource; } public int getTitleResource() { return mTitleResource; } public void setTitleResource(int titleResource) { mTitleResource = titleResource; } }