About this deal
First Create Hashmap for store Key and value pair HashMap
Share type - Once you create a share link from any private List file, the file now becomes a Share file, it is viewable/copyable by others, but only you have permission to edit. The process of converting a List file to a Share file is irreversible. 4.1. How to Save? I have a spiner and I want set a key and a value on this,I use of HashMap,It's work,but show one row,like this: For open: Choose a file to open. You can open and edit your "List" type and "Share" type of file from here.Toast.makeText(context, "Country ID: "+country.getId()+", Country Name : "+country.getName(), Toast.LENGTH_SHORT).show(); div class = "spinner-grow text-primary" role = "status" > < span class = "visually-hidden" >Loading... span > div > < div class = "spinner-grow text-secondary" role = "status" > < span class = "visually-hidden" >Loading... span > div > < div class = "spinner-grow text-success" role = "status" > < span class = "visually-hidden" >Loading... span > div > < div class = "spinner-grow text-danger" role = "status" > < span class = "visually-hidden" >Loading... span > div > < div class = "spinner-grow text-warning" role = "status" > < span class = "visually-hidden" >Loading... span > div > < div class = "spinner-grow text-info" role = "status" > < span class = "visually-hidden" >Loading... span > div > < div class = "spinner-grow text-light" role = "status" > < span class = "visually-hidden" >Loading... span > div > < div class = "spinner-grow text-dark" role = "status" > < span class = "visually-hidden" >Loading... span > div > Alignment List type - This is the file type you will see after saving your list of data. This is private and only you can open and edit. I have updated Dhaval's answer to be more generic. This solution utilizes toString() and ArrayAdapter (you do not need to implement your own adapter with all the logic) and is implemented in Kotlin
ArrayAdapter
Webshop
Share from File - Make your file shareable. The owner can edit data later, the data is always synced in real-time. Premium customization will be included if have. The link is permanent as long as the file exists. You can choose to prevent the ads from showing on the shared spinning wheel and show your banners instead.