Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

android studio loop through all objects in layout

for(int i=0; i<myGridView.getChildCount(); i++) {
    TextView child = (TextView)mGridView.getChildAt(i);
    // do stuff with child view
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #studio #loop #objects #layout
ADD COMMENT
Topic
Name
3+1 =