Back to project page Rashr.
The source code is released under:
GNU General Public License
If you think the Android project Rashr 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.fima.cardsui.objects; /*from w w w . j a va 2 s .c om*/ import android.content.Context; import android.view.View; public abstract class AbstractCard { protected int image; protected String description, color, titleColor, desc, title, titlePlay; protected Boolean hasOverflow, isClickable; protected int imageRes; protected Object data; public abstract View getView(Context context); public abstract View getView(Context context, boolean swipable); public String getTitle() { return title; } public String getTitlePlay() { return titlePlay; } public String getDesc() { return desc; } public String getDescription() { return description; } public int getImage() { return image; } public String getColor() { return color; } public String getTitleColor() { return titleColor; } public Boolean getHasOverflow() { return hasOverflow; } public Boolean getIsClickable() { return isClickable; } public int getImageRes() { return imageRes; } /** * @return the data */ public Object getData() { return data; } /** * @param data * the data to set */ public void setData(Object data) { this.data = data; } }