Java 类android.support.v7.widget.ViewHolderDelegate 实例源码
项目:ScaleViewPager
文件:LoopRecyclerViewPagerAdapter.java
@Override
public void onBindViewHolder(VH holder, int position) {
super.onBindViewHolder(holder, getActualPosition(position));
// because of getCurrentPosition may return ViewHolder‘s position,
// so we must reset mPosition if exists.
ViewHolderDelegate.setPosition(holder, position);
}
项目:GCSApp
文件:LoopRecyclerViewPagerAdapter.java
@Override
public void onBindViewHolder(VH holder, int position) {
super.onBindViewHolder(holder, getActualPosition(position));
// because of getCurrentPosition may return ViewHolder‘s position,
// so we must reset mPosition if exists.
ViewHolderDelegate.setPosition(holder, position);
}
项目:beautifullife
文件:LoopRecyclerViewPagerAdapter.java
@Override
public void onBindViewHolder(VH holder, int position) {
super.onBindViewHolder(holder, getActualPosition(position));
// because of getCurrentPosition may return ViewHolder‘s position,
// so we must reset mPosition if exists.
ViewHolderDelegate.setPosition(holder, position);
}