- Forum posts: 3
Sep 20, 2017, 7:59:39 PM via Website
Sep 20, 2017 7:59:39 PM via Website
This question may be very basic and easy but very important for me. I tried to search online but no luck!
I am beginner to coding, java and Android studio. I am learning to develop Android app by online tutorials. I am trying to develop an app for thoughts and quotes. I have thousands of thoughts to add in the app. Below mentioned steps I am following now:
1. I create a new activity
2. I add a thought in it.
3. I add two buttons for next and previous thought/activity
4. I link next thought/activity to next button and previous thought/activity to previous button in java file.
I have to repeat these steps thousands time.
Is there any better and time saving way to do the same thing? For example, I create only one activity and write down all the thoughts in different paragraphs/text views. Next button display next paragraph/text view/thought & previous button display previous paragraph/text view/thought. Or any other better way?