use of com.daimajia.easing.BaseEasingMethod in project AnimationEasingFunctions by daimajia.
the class EasingAdapter method getView.
@Override
public View getView(int i, View view, ViewGroup viewGroup) {
Object o = getItem(i);
BaseEasingMethod b = ((Skill) o).getMethod(1000);
int start = b.getClass().getName().lastIndexOf(".") + 1;
String name = b.getClass().getName().substring(start);
View v = LayoutInflater.from(mContext).inflate(R.layout.item, null);
TextView tv = (TextView) v.findViewById(R.id.list_item_text);
tv.setText(name);
v.setTag(o);
return v;
}
Aggregations