Skip to content
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

Open
JitenNumberTank opened this issue May 13, 2016 · 15 comments
Open

set view on Center Point #12

JitenNumberTank opened this issue May 13, 2016 · 15 comments

Comments

@JitenNumberTank
Copy link

Is there any way to move selected view on center point? I hope I will get solution from your side ASAP.

@JitenNumberTank
Copy link
Author

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?

@applm
Copy link
Owner

applm commented May 14, 2016

It is open source. Look at the code and add what you need,

@applm
Copy link
Owner

applm commented May 14, 2016

Or look at forks.. People already fixed lot of issues.

@JitenNumberTank
Copy link
Author

Yes It open source, But if you have made code so you know better than me.
It will be good if you provide me changes

On Sat, May 14, 2016 at 3:19 PM, Martin Appl [email protected]
wrote:

It is open source. Look at the code and add what you need,


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

       Thanks & Regards,

*Jiten Ramoliya *

@JitenNumberTank
Copy link
Author

Thanks for your reply. I have also looked in fork but couldn't found this
changes. Could you look at code and let me know.

On Sat, May 14, 2016 at 3:20 PM, Martin Appl [email protected]
wrote:

Or look at forks.. People already fixed lot of issues.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

       Thanks & Regards,

*Jiten Ramoliya *

@damienoliver
Copy link

Wow. Lazy AND entitled.

@applm
Copy link
Owner

applm commented May 14, 2016

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.

@JitenNumberTank
Copy link
Author

no. I am not lazy. I am also finding that. but couldn't found at there.
still looking in code

On Sat, May 14, 2016 at 3:23 PM, damienoliver [email protected]
wrote:

Wow. Lazy AND entitled.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

       Thanks & Regards,

*Jiten Ramoliya *

@JitenNumberTank
Copy link
Author

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]
wrote:

no. I am not lazy. I am also finding that. but couldn't found at there.
still looking in code

On Sat, May 14, 2016 at 3:23 PM, damienoliver [email protected]
wrote:

Wow. Lazy AND entitled.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

       Thanks & Regards,

*Jiten Ramoliya *

       Thanks & Regards,

*Jiten Ramoliya *

@JitenNumberTank
Copy link
Author

I also provide you 5 start rating on this

On Sat, May 14, 2016 at 3:25 PM, Jiten Ramoliya [email protected]
wrote:

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]
wrote:

no. I am not lazy. I am also finding that. but couldn't found at there.
still looking in code

On Sat, May 14, 2016 at 3:23 PM, damienoliver [email protected]
wrote:

Wow. Lazy AND entitled.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

       Thanks & Regards,

*Jiten Ramoliya *

       Thanks & Regards,

*Jiten Ramoliya *

       Thanks & Regards,

*Jiten Ramoliya *

@applm
Copy link
Owner

applm commented May 14, 2016

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.

@JitenNumberTank
Copy link
Author

Yes I mean automatic centering with animation. but that repository is
infinite looping. my requirement is not like that. Your current library
which I used is more suiteble for my code. If I set code in computeScroll
method then it stuck at there. don't allow me to scroll ahead.

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,
screenCenter - childCenter, 0, 1000);

but this not worked for me.

On Sat, May 14, 2016 at 9:25 PM, Martin Appl [email protected]
wrote:

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.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

       Thanks & Regards,

*Jiten Ramoliya *

@applm
Copy link
Owner

applm commented May 16, 2016

https://github.com/gintechsystems/Android-Carousel . Forked branch. It should have scroll snap according to author.

@JitenNumberTank
Copy link
Author

Thanks For your help, Let me checkout code

On Mon, May 16, 2016 at 3:08 PM, Martin Appl [email protected]
wrote:

https://github.com/gintechsystems/Android-Carousel . Forked branch. It
should have scroll snap according to author.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

       Thanks & Regards,

*Jiten Ramoliya *

@JitenNumberTank
Copy link
Author

yes. This code is working as well. I am really grateful for it. I will
give you start for your awesome project. thanks once again

On Mon, May 16, 2016 at 3:24 PM, Jiten Ramoliya [email protected]
wrote:

Thanks For your help, Let me checkout code

On Mon, May 16, 2016 at 3:08 PM, Martin Appl [email protected]
wrote:

https://github.com/gintechsystems/Android-Carousel . Forked branch. It
should have scroll snap according to author.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

       Thanks & Regards,

*Jiten Ramoliya *

       Thanks & Regards,

*Jiten Ramoliya *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants