digvijay
digvijay

Reputation: 189

populating AlertDialog

How do i populate an AlertDialog using ArrayList?? any help will be appreciated.. thank you in advance.

Upvotes: 0

Views: 404

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006614

Create an ArrayAdapter for your ArrayList. Then, use setAdapter() on AlertDialog.Builder.

Upvotes: 1

Related Questions