Android Question Dynamiclly generate button

ShawnYang

Member
Hi Erel,
I have many pictures and much data from my database that i want to do something interesting things which dynamiclly generate button by database.
just like this picture, i want to use data to drive UI.
Could you please give a advice to solve this?
Thank you so much.
 

Peter Simpson

Expert
Licensed User
Longtime User
First: Unless there is an actual, real B4X issue, you really should not be referencing just Erel in your forum questions. There are more than just one developer on here.

Second: You can use your imagination and your database information to easily create dynamic buttons or load images into dynamically created images views. Actually, it is extremely simple to achieve. You know your database, just use select queries, and adapt the results to the attached code. Change the buttons to ImageViews, and load your pictures into them.
 

Attachments

  • Again.zip
    12.9 KB · Views: 38
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…