Skip to content
This repository was archived by the owner on Apr 19, 2018. It is now read-only.

Conversation

@iTwenty
Copy link

@iTwenty iTwenty commented Jan 19, 2015

The call to setCurrentItem() in onMeasure() throws an IllegalStateException as the ViewPager is null in editor. This commit fixes this by calling setCurrentItem() only when not in edit mode.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant