Android Question Create a layout with an xcustomlistview by code

Xicu

Active Member
Licensed User
Longtime User
I searched the forum for examples of xcustomlistview, and in all cases they use the designer to insert xcustomlistview. Is it possible to do it by code ?. Does anyone have a example?
 

Alexander Stolte

Expert
Licensed User
Longtime User
Yes it is possible, create a panel per code for the base and put views per code in this panel and add this to the CLV.

I handle it so, that i have function for this, the return type is a panel and this panel i add to the CLV, if you have more than one layout for the overview in the code.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…