android - How to parse data under Textview -


Can someone help me? I am writing an application for Android which parses data from the internet and writes them in TextView.

  TextView [] dva = new textView [sitesList.getDva (). Shape ()]; // Set the result text in textview and add it for layout (int i = 0; i & lt; sitesList.getDva (). Size (); i ++) {dva [i]. New text view (this); Dva [i] .setText ("Kosola:" + Sites ListGetwa (). Get (i)); Layout.addView (dva [i]);   

I parse 5 objects under DAVI [i], which I would like them to display under a textview.

  TextView textView1 = (TextView) findViewById R.id.kosilodva); TextView1.setText ("Kosola:" + Sites ListGetva (). Mill (i));   

How can I do this? Thanks to everyone who is ready to help me.

Instead of the set text you do not try to attach,

replace it ,

  textView1.setText ("Kosilo:" + sitesList.getDva (.) Get (i)); With   

,

  textView1.append ("Kosilo:" + sitesList.getDva (.) Get (i));    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -