Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

android java 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 #java #loop #objects #layout
ADD COMMENT
Topic
Name
1+8 =