I have an ImageView on an Activity A, and a button on Activity B. The ImageView is set to "invisible". I was wondering if i could make the ImageView visible when the button is pressed and keep visible forever (until the user uninstalls the app or resets it).
I found this piece of code that makes the ImageView turn visible:
example.setVisibility(View.VISIBLE);
i know i should use SharedPreferences to make it work, but i tried many times, without success.
Can somebody help me?
Thank you so much.
P.s. What i have to do is to create (or simply make visible) a tick so that the user knows which level he completed. If there's another way, and i know there is, let me know.