Closed GuilhE closed 6 years ago
Hey, thank you for contribution, but looks like you changed the code style, please return it back and ping me
Changed Java code style indent to 8, instead of default 4, to match your code style
Please see full changes, it does not help https://github.com/vivchar/ViewPagerIndicator/pull/3/files That is in red anyway =(
Hello, any news?
Hi, I will do that manually later, because your changes contains a lot of codestyle changes. I need only onSave and onRestoreMethods.
Ok. I think you should be using the default configurations because if anyone want's to contribute you'll have the same problem over and over. The default Android Studio's Java code style indent is 4, your code uses 8.
If you change that, all you have to do next is to open your files and Control + Alt + L | Command + Option + L and you're done.
Cheers.
Since
void setSelectedIndex(final int selectedIndex)
is a private method, I've addedonSaveInstanceState()
andonRestoreInstanceState(final Parcelable parcel)
. Even ifsetSelectedIndex
becomes public, this state logic will spare us from the additional work ;)