Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swipe between activities

I want to swipe between activities, but I'm not sure what best practices would be.

Should I throw everything in at once and scroll from each activity?...and does that create memory problems?

Or am I better off implementing an actual swipe?

Are there other methods I should consider?

The end-game will be 10-15 Activities filled with HTML, making up a magazine...so I want the user to be able to swipe from each article (which will be 1 per activity) to another.

Thanks!

like image 711
SnowboardBruin Avatar asked Dec 30 '25 20:12

SnowboardBruin


1 Answers

You want the ViewPager. Read this blog post on it.

like image 121
kabuko Avatar answered Jan 01 '26 11:01

kabuko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!