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 use setId(int) only for objects extending View class.