简体   繁体   中英

How to custom ListView android

I would like to know , if it's possible , if i can have a custom ListView which looks like an array. And if it's possible , how i begin ? i create other layout? listeview ? I put the link of the mockup of the listView. I hope that you understand my question (it's not to hard =))

Link of the image : Click here

Of course, at the end, i will get data with webservice (but it's ok for me =))

Weolcome to SO, of course it is possible to create your own ListView. You just have to implement a so called custom ArrayAdapter and a Layout which would represent a row in your ListView. Have a look at this great Site, with a tutorial with exactly what you are looking for-.

VOGELLA TUTORIAL

Do not be scared of the long code, after the first tries it should be very clear what to do!

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