How to fix the error?
R.id.textView1.setViewsibility(View.INVISIBLE);
Writing a mistake
Cannot invoke setViewsibility (int) on the primitive type int
How to fix?
TextView tv = findViewById(R.id.textView1); rv.setViewsibility(View.INVISIBLE);
You do not confuse id with component
Source: https://ru.stackoverflow.com/questions/199426/
All Articles