Created
May 31, 2017 08:40
-
-
Save manas-raj-shrestha/000cbf5bec6024533ee2141c94a59c57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void setOnClicks(GridLayout grid_layout) { | |
for (int i = 0; i < grid_layout.getChildCount(); i++) { | |
if (grid_layout.getChildAt(i) != null) | |
grid_layout.getChildAt(i).setOnClickListener(this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment