@Override
public EasyRVHolder setAlpha(int viewId, float value) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
getView(viewId).setAlpha(value);
} else {
AlphaAnimation alpha = new AlphaAnimation(value, value);
alpha.setDuration(0);
alpha.setFillAfter(true);
getView(viewId).startAnimation(alpha);
}
return this;
}
EasyRVHolder.java 文件源码
java
阅读 38
收藏 0
点赞 0
评论 0
项目:GitHub
作者:
评论列表
文章目录