简体   繁体   中英

Android (Java): browsing list (e.g. RecyclerView) by left and right swipe, one by one

Does anyone know how to do a list browsing (eg RecyclerView ), where each element of the list fills the entire screen, and the transition to the next / previous element is to be done by swipe left / right? Something like this: 参考图片

Best regards.

You need ViewPager for this Check this link https://www.journaldev.com/10096/android-viewpager-example-tutorial

There are many more links that can help you in this case. Search for ViewPager

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM