Answer the question
In order to leave comments, you need to log in
How to implement image slider in android?
Good evening, dear friends. Once again I encounter a problem, this time I can’t implement the ability to switch (forward and backward) the image by moving it to the edge of the screen (as in popular social network applications, well, and uavito, and when you click you need to go to a new activity.
The classes themselves for I have image switching, as well as a linearlayout inside which is an ImageView in which the image changes, but I can’t find a suitable action handler in any way. (OnClick does not work, but I need it to go to a new activity)
These handlers are:
stackoverflow.com/questions/13162386/next-and-prev...
stackoverflow.com/questions/4139288/android-how-to...
I hope for the help of experienced people. First of all, thanks again for your help.
Answer the question
In order to leave comments, you need to log in
Well, yes, ViewPager is needed ... But why make your own bike? Full of ready-made image sliders! Personally, I like this one: https://github.com/daimajia/AndroidImageSlider
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question