tt_mc

导航

2014年3月28日 #

ViewPager PagerAdapter not updating the View

摘要: There are several ways to achieve this.The first option is easier, but bit more inefficient.Override getItemPosition in your PagerAdapter like this:public int getItemPosition(Object object) { return POSITION_NONE;}This way, when you call notifyDataSetChanged(), the view pager will remove all view... 阅读全文

posted @ 2014-03-28 10:42 tt_mc 阅读(292) 评论(0) 推荐(0) 编辑