android - Is it possible to bind a TableLayout with a ArrayAdapter? -


is possible bind tablelayout arrayadapter?

there no such api in framework. can manually querying adapter yourself. this:

int count = adapter.getcount(); (int = 0; < count; i++) {     tablelayout.addview(createtablerow(adapter.getitem(i)); // or tablelayout.addview(adapter.getview(i, null, tablelayout)); } 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -