开发者

How to add list items from strings.xml in Android

开发者 https://www.devze.com 2023-03-20 10:15 出处:网络
in my app I am having a list view. I want to list out the items from my res/values/strings.xml file. How can the items can be shown from there?

in my app I am having a list view. I want to list out the items from my res/values/strings.xml file. How can the items can be shown from there?

In strings.xml file how to mention the list of items to be used in the 开发者_开发问答list view?


I suppose you should use xml parser to get the data from xml file.Then you can use this data in your list view.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号