A
A
Andrey2020-04-29 20:15:49
Java
Andrey, 2020-04-29 20:15:49

How to remove one variable from an array every 5 minutes?

Hello!
There is an array that contains more than 1000 variables (on the google maps map) ..... and each time it only becomes more.
It took them to be removed gradually, once every 5 minutes.
What is the best way to do this so that the flow does not slow down?

ArrayList<String> blabla = new ArrayList<>(names.size())
blabla.add(asdf.keySet());

for(String str : blabla.size())
{
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Pokrovsky, 2020-04-29
@Makaroshka007

https://metanit.com/java/android/10.1.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question