Need some help with persistance on Android

Completed

Description

I need help fixing an issue with persistance in my code. I'm new to Android and I'm guessing have missed something importnat.

I'm trying to preserve user check box selection between sessions in an internal json file:

1. In MainActivity on load I try to read internal [url removed, login to view] file on a phone, if the file does not exist I'm loading a template object from a resource and saving that json as a internal file called items.json. Then I pass my JSON object to [url removed, login to view]

2. Every time I click a check box an item I invoke setOnClickListener in MainViewAdapter.java. I update json object with checked state and I save the json to a [url removed, login to view] internal file.

ISSUE: even though I have no errors and I see the checked state of a json object change when saving, on reload my updates are gone and no longer visible when I re-load the same file I just saved during a previous session.

Missing something simple just can't see it.

Thank you

Skills: Android, Java

See more: i need android programming help, software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, need serious help need money, free software write book, help need insurance rater software, software write book, item click tilelist flex, help need color scheme business, help need graphic designer urgent illustration, need help need find website customize pictureplease help, help need job, help need quick simple website, help need work designer illustrator, help need design creative brochure, website kindness mission help need template

Project ID: #11721730

Awarded to:

npispas

Hello my name is Nikolaos and I can help you with your problem. I'm an experienced back-end and front-end developer. It may seem that I'm new in freelancing but I'm not new in developing. A sample of my work may be see More

$10 USD in 0 days
(0 Reviews)
0.0