ListView to Fragment or ListView to new Activity?

Asked 1 years ago, Updated 1 years ago, 62 views

Now I'm creating an app for music scores, and first, the list of songs is ListView and appears as TextView.

I am still a beginner in programming and Android Studio, but I would like to see the score of the song when setOnItemClickListener().
However, should I move to another Fragment or create a completely new Activity?

I want you to go back to ListView when you enter the score and press the Back button, but if you reach 50 songs, why don't you make so many Activity?

I'm sorry I'm a beginner, but I appreciate your cooperation (^_^)

android java android-studio

2022-09-29 22:49

1 Answers

If you open Activity for each of the 50 songs, there is only one left in memory, so it doesn't matter if you do it with Activity.

If you are a beginner, you will find many difficult parts using Fragment, so I think you should try making it with Activity first.


2022-09-29 22:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.