I am trying a make notepad app so every time a new note is opened the layout will be the same. also, the number of activity(new note) should not be defined as many possible
Asked
Active
Viewed 58 times
0
-
1you can call your own activity again by `new Intent(this, YourActivity.class)` – Kishita Variya Oct 21 '19 at 12:20
-
https://stackoverflow.com/a/4186097/5705721 – Makarand Oct 21 '19 at 12:21
-
If your app is similar to notepad then why you need multiple activity. You can use recyclerview and change data accordingly – Ashish Oct 21 '19 at 12:21
-
Possible duplicate of [How to start new activity on button click](https://stackoverflow.com/questions/4186021/how-to-start-new-activity-on-button-click) – Jon Goodwin Oct 21 '19 at 12:22
1 Answers
0
If the activity is always the same, you should probably create an adapter that allows you to change the texts and images of your activity without the need to create several activities.

Frank
- 78
- 7