android - save checked state of checkbox in multi select listview -
i'm new multi-select listview. want save checked state of checkbox in listview if user closes app , opens again, selected checkbox still remain selected. there way this. searched , found can done using sharedpreference didn't more information on how use it. thanks public class mainactivity extends appcompatactivity { listview mylist; button getchoice; string[] listcontent = { "january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december" }; @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); mylist = (listview)findvie...