SHARE
TWEET

Untitled

a guest Aug 20th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RelativeLayout parentLayout = (RelativeLayout) findViewById(R.id.layout);
  2.  
  3.                     int size = response.toArray().length;
  4.  
  5.                     final TextView[] tv = new TextView[size];
  6.                     TextView temp;
  7.  
  8.                     for (int i = 0; i < size; i++)
  9.                     {
  10.                         temp = new TextView(Activity.this);
  11.  
  12.                         temp.setText(response.get(i).getName());
  13.  
  14.                         parentLayout.addView(temp);
  15.  
  16.                         tv[i] = temp;
  17.  
  18.                     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top