setValue can not work
mWheel.setValue(1, false) seems not work in onCreate , but in OnScrollListener it works fine.
same here I can call setValue without a problem from outside of onCreate;
It's because GetRealWidth return 0 (because it has never been calculated before). I made a workaround by storing in SharedPref width of the wheel and passing it to setValue as a parameter, then in setValue : int w = Math.max(previousWidth, getRealWidth()); (previousWidth = setValue parameter). It's very hacky, I don't like it. But it works.
you can implements OnLayoutListener, then ref:https://github.com/sephiroth74/AndroidWheel/issues/3
@gnemoug Almost forgot this issue and the bug, I think this repo is dead.