In the Android studio project, there are several Activities on which objects (buttons) with the names 1-10, 11-20 .. are located. How to implement a search on the main Activity, to display the Activity on which the search object is located?
- oneIt can not be done. Only one activity can be active at a time, and all others should be considered dead. Those. If you try to look for something there, you will get an NPE. Yes, you can pervert in several ways, but these will be terrible crutches and they will work unstably. Better tell us what problem you want to solve - surely it can be solved beautifully and gracefully, without crutches and hacks. - Yuriy SPb ♦
- There are several floor plans with audiences located on them. I presented the audience on the form in the form of buttons. It is necessary to find a floor plan in the search where the audience is being sought - Oleg Volyanchuk
- oneYou need to put all the information about floors and auditoriums in the database, display them from the database on the screens and also search in the database. So you will have no problems. - Yuriy SPb ♦
- Grateful. I will try - Oleg Volyanchuk
|