Maintain the map (Collection) of inserted orders in Java
•
Java
I need to use maps for Android Application in Java But the problem is that the list is sorted automatically How to use the map to get data in the same order as the data I inserted
Solution
You should use LinkedHashMap. XML for this purpose Visit Android docs and Java docs for more details
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码