开发者

Android app display different blocks of text using the same views

开发者 https://www.devze.com 2023-02-01 08:58 出处:网络
I am sure there is a better way to do what I am doing in my apps.The current one I am trying to impro开发者_开发技巧ve is a list of military cadences.The way I am doing it now is by loading html files

I am sure there is a better way to do what I am doing in my apps. The current one I am trying to impro开发者_开发技巧ve is a list of military cadences. The way I am doing it now is by loading html files in a web view.

What I would like to be able to do is have one view set up and just be able to add the text portion of what I would be displaying with the html file.

What would be the best method. I know this is probably a pretty simple thing to do with a sting or array but I am at the very beginner level and would need to be pointed in the right direction to do it.


Sounds like you are searching for ListView. You can make a List of what you like tho show to the user and stick that with the an Adapter to the ListView.

0

精彩评论

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