Tracy
Tracy
Firstly you should add OnLongClickListener like what @venciallee said,but that does not work correctly cause under this situation "DoubleTap" while call OnLongPress,so you should do something to prevent the "OnLongPress"...
@android0276 你说的不要升级是基于哪个版本?什么版本不行?什么版本可以?
问题不少,经常出现diff不出来的问题,没法用啊,啥时候更新
I found that we can't call adapter.notifyDataSetChanged() when using LoopViewPager, we can use setAdapter(new Adapter()) to avoid this error.
@panda912 setAdapter(new Adapter()) 就可以了,调用notifyDataSetChanged实际不起作用
can not call adapter.notifyDataSetChanged(), using setAdapter(new Adapter()) for instead
@ramvdixit @ariedov ,use https://github.com/TracyZhangLei/LoopViewPagerDemo/blob/master/app/src/main/java/com/tracy/viewPager/LoopViewPager.java for instead.
@cyberrob do you call setBoundaryCaching(true) or set the DEFAULT_BOUNDARY_CASHING true?
@cyberrob see my demo https://github.com/TracyZhangLei/LoopViewPagerDemo