Answer the question
In order to leave comments, you need to log in
How to make deletion (or any action) of textview on a timer?
It is necessary to delete the element 10 seconds after its creation.
Timer timer = new Timer();
myLayout.addView(textView);
timer.schedule(myLayout.removeView(textView),0,2000); //тут студия выдает что нужно void туда вставлять
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question