Answer the question
In order to leave comments, you need to log in
How to programmatically create a new Activity class in Android directly from the code?
This is necessary for infinite navigation in depth. On each of the list activities, by clicking on an element of the list, we go to a new activity with a list, and so on ad infinitum.
Answer the question
In order to leave comments, you need to log in
There is only one way to create an activity - send the appropriate intent. Better yet, create fragments for such purposes, not activities.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question