简体   繁体   中英

Android Horizontal Dynamic List View

I'm trying to develop an app which is similar to e-book apps. The thing I want to do is having multiple horizontal views according to my data and listing them in a vertical view. Also, I have a view having image and title fields. I want to repeat this view inside of every horizontal view. Both horizontal view number and content of horizontal views should be dynamic. I checked it online there are some components for horizontal views but don't know which is the most useful one. What is the best way to implement this in my project?

There is a new view in android called Recycler View (perhaps you have heard about it) . It's a reimplementation of the list-view in android with lots of new features. In Recycler view, you can easily make a horizontal list view. I have found a tutorial for you on the net, The source code is included in the tutorial .

http://android-pratap.blogspot.in/2015/12/horizontal-recyclerview-in-vertical.html

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