Skip to content

Commit

Permalink
* [android] fix the invalid index of slider-neighbor (#62)
Browse files Browse the repository at this point in the history
* * [android] fix the invalid index of slider-neighbor

* * [android] remove
  • Loading branch information
misakuo authored and sospartan committed Dec 13, 2016
1 parent 43f5164 commit 59fd574
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ public WXComponent createInstance(WXSDKInstance instance, WXDomObject node, WXVC
@Override
public void bindData(WXComponent component) {
super.bindData(component);
mViewPager.setCurrentItem(0);
if(mAdapter.getRealCount() > 3){
mViewPager.setOffscreenPageLimit(2);
}else if(mAdapter.getRealCount() == 3){
Expand Down

0 comments on commit 59fd574

Please sign in to comment.