Created
May 31, 2017 08:33
-
-
Save manas-raj-shrestha/70c66081e433ea4984434949d742fdab 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
private fun setButtonClicks() { | |
(0..grid_layout.childCount) | |
.filter { grid_layout.getChildAt(it) != null } | |
.forEach { grid_layout.getChildAt(it).setOnClickListener(this) } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment