本文整理了Java中cn.youngkaaa.yviewpager.YPagerAdapter.finishUpdate()
方法的一些代码示例,展示了YPagerAdapter.finishUpdate()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YPagerAdapter.finishUpdate()
方法的具体详情如下:
包路径:cn.youngkaaa.yviewpager.YPagerAdapter
类名称:YPagerAdapter
方法名:finishUpdate
[英]Called when the a change in the shown pages has been completed. At this point you must ensure that all of the pages have actually been added or removed from the container as appropriate.
[中]当显示页面中的更改完成时调用。此时,您必须确保所有页面都已在适当的情况下从容器中添加或删除。
代码示例来源:origin: open-android/ViewPager
/**
* Called when the a change in the shown pages has been completed. At this
* point you must ensure that all of the pages have actually been added or
* removed from the container as appropriate.
*
* @param container The containing View which is displaying this adapter's
* page views.
*/
public void finishUpdate(ViewGroup container) {
finishUpdate((View) container);
}
代码示例来源:origin: open-android/ViewPager
mAdapter.finishUpdate(this);
代码示例来源:origin: open-android/ViewPager
mAdapter.finishUpdate(this);
代码示例来源:origin: open-android/ViewPager
mAdapter.destroyItem(this, ii.position, ii.object);
mAdapter.finishUpdate(this);
mItems.clear();
removeNonDecorViews();
代码示例来源:origin: open-android/ViewPager
mAdapter.finishUpdate(this);
final int childCount = getChildCount();
for (int i = 0; i < childCount; i++) {
代码示例来源:origin: open-android/ViewPager
mAdapter.finishUpdate(this);
代码示例来源:origin: open-android/ViewPager
mAdapter.destroyItem(this, ii.position, ii.object);
mAdapter.finishUpdate(this);
mItems.clear();
removeNonDecorViews();
代码示例来源:origin: open-android/ViewPager
mAdapter.finishUpdate(this);
final int childCount = getChildCount();
for (int i = 0; i < childCount; i++) {
代码示例来源:origin: open-android/ViewPager
mAdapter.finishUpdate(this);
内容来源于网络,如有侵权,请联系作者删除!