简体   繁体   中英

How do I get the button dynamically programmed

I am new to the xamarin development. I am working on an app that adds the information from the SQLite database about the user. But my problem is it should dynamically create the button to show the user info after entering the info in the database.

I am able to get the information from the database and shows it on the activity but unable to create the button as shown in the picture.

I am not sure if button will solve the issue or this is a list view.

此图显示了我要执行的确切步骤。按下+按钮后,我需要输入数据,但是如何创建按钮,例如:ID_Card或Whatever?

This is a list view as it is dynamically populated and also has a separator.

You can create a custom cell with a image view, text view and a disclosure indicator.You can reuse this cell within the list view.

You can go through this sample on List views.

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