private void setAnimation(View viewToAnimate, int position) {
// If the bound view wasn't previously displayed on screen, it's animated
if (position > lastPosition) {
Animation animation = AnimationUtils.loadAnimation(mContext, android.R.anim.slide_in_left);
viewToAnimate.startAnimation(animation);
lastPosition = position;
}
}
BookGridAdapter.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:BuddyBook
作者:
评论列表
文章目录