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.
1779377363554.png
 

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 is more than one developer on here.

Second, you can use your imagination and use your database data to easily create dynamic buttons or load images into dynamically created images views. It is extremely simple to achieve, actually. You know your database, just use select queries, and adapt them to the attached code. Change the buttons to ImageViews, and put your pictured into it.
 

Attachments

  • Again.zip
    12.9 KB · Views: 0
Upvote 0
Top