First things first, I am a beginner at coding, a freshmen if you’d like to call it. I was following a tutorial about making a quiz app in a paid-website through videos it provides.
I was having some fun there, until I saw the date of those videos. They’re 2-3 years old. Anko’s already deprecated, and I never knew that till days after start. There are lots of problems I encountered while making the app, but my IRL IT teacher wholeheartedly helped me.
Here we are now, with a problem that I am currently facing.
I run my app on my phone like usual, everything goes well according to the tutorial. Swipe left, swipe right, no errors nor any inconveniences. Then, when I was about put the phone down, I dropped the phone and catches it, barely touching the floor. I lay it down gently on the table and saw that it was oriented to landscape.
And there’s the problem, the content of the quiz was gone, the abcd answers too. The indexes are empty (1/0) when it’ll usually show (1/5).
I’ve tried redoing all of the app creating process in another project from the ground up. Me and my teacher thought that maybe the problem occurs because of something unseen in the main project, or maybe the project itself was having some stroke.
But, the result is still the same. My app’s completion progress was halted because of this nuisance.
After countless research, I begin to question if this problem ties to SavedInstance. Anyone had a solution?
Also, I’m using Android Studio, in case you didn’t know.
M N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.