I saw the syntax definition of setId(int) and findViewByID(int).
setId(int)
findViewByID(int)
But how we use findViewById(R.id.row1)
findViewById(R.id.row1)
I tried using
You can define your Ids as resources and then use setId() of the view to set it.