Join Slack
Communities
Powered by
There’s an even more ugly way for removing items f...
# announcements
m
michaelrocks
01/14/2016, 11:09 AM
There’s an even more ugly way for removing items from
List
, which is used in some Android classes:
Copy code
for (int i = list.size() - 1; i >= 0; --i) { if (condition) { list.remove(i); } }
Open in Slack
Previous
Next