-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set view on Center Point #12
Comments
I have checked your Ma-Componant Library but that is not realiable for me. I want this functionality in this library. Could you set it in Carousel class? |
It is open source. Look at the code and add what you need, |
Or look at forks.. People already fixed lot of issues. |
Yes It open source, But if you have made code so you know better than me. On Sat, May 14, 2016 at 3:19 PM, Martin Appl [email protected]
*Jiten Ramoliya * |
Thanks for your reply. I have also looked in fork but couldn't found this On Sat, May 14, 2016 at 3:20 PM, Martin Appl [email protected]
*Jiten Ramoliya * |
Wow. Lazy AND entitled. |
I made it more than year ago. I wouldt actually have to spend same time reading code as you do. And I dont need that feature. You do. |
no. I am not lazy. I am also finding that. but couldn't found at there. On Sat, May 14, 2016 at 3:23 PM, damienoliver [email protected]
*Jiten Ramoliya * |
Its not compulsury brother. but through your small help I can go forward On Sat, May 14, 2016 at 3:24 PM, Jiten Ramoliya [email protected]
*Jiten Ramoliya * |
I also provide you 5 start rating on this On Sat, May 14, 2016 at 3:25 PM, Jiten Ramoliya [email protected]
*Jiten Ramoliya * |
Scroling is handled in computeScroll method. It is moved by setScroll(). If you mean automatic centering with animation. My other deprecated repopsitory had this implemented. I think someone also talked here in comment about implementing it. |
Yes I mean automatic centering with animation. but that repository is final int screenCenter = getWidth() / 2 + getScrollX(); int childCenter = getChildCenter(mReverseOrderIndex); int Offset = screenCenter - childCenter; I am getting this offeset and also doing mScroller.startScroll(0, 0, but this not worked for me. On Sat, May 14, 2016 at 9:25 PM, Martin Appl [email protected]
*Jiten Ramoliya * |
https://github.com/gintechsystems/Android-Carousel . Forked branch. It should have scroll snap according to author. |
Thanks For your help, Let me checkout code On Mon, May 16, 2016 at 3:08 PM, Martin Appl [email protected]
*Jiten Ramoliya * |
yes. This code is working as well. I am really grateful for it. I will On Mon, May 16, 2016 at 3:24 PM, Jiten Ramoliya [email protected]
*Jiten Ramoliya * |
Is there any way to move selected view on center point? I hope I will get solution from your side ASAP.
The text was updated successfully, but these errors were encountered: