How to show installed app list in a listview without Checkbox getting unchecked when listview is scrolled?
My goal is to display the list of installed apps in a custom listview (within an Activity ) without checkbox getting unchecked (when listview is scrolled). The Problem : When Listview is scrolled, the checked status of the checkbox becomes unchecked. My Progress So Far : While this blog entry clearly shows how to get rid of the problem of checkboxes in listview getting unchecked, the difference is that it uses Model as the custom class whereas in my case it is a system class [i.e. the packageList1 = packageManager.getInstalledPackages(0);] How can I resolve this? Below is my code attempt. I am