S
S
spongeCake52018-03-04 23:16:46
Android
spongeCake5, 2018-03-04 23:16:46

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

1 answer(s)
S
Sergey Gornostaev, 2018-03-04
@sergey-gornostaev

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 question

Ask a Question

731 491 924 answers to any question