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
Post a Comment