B4X FEED Main Activity randomly recreated

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Main Activity randomly recreated است. این موضوع تا کنون 21 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Main Activity randomly recreated
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
21
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
EDIT: I believe I know what's happening now but still not clear on a solution.

Lets say the user starts the app from the home screen icon. Main activity loads. User then navigates to Active B then to Activity C.

User then hits the home button and performs some unrelated task. When wanting to return to my app they tap the icon on the home screen again.

This does not resume the app. It relaunches the Main activity. IMO it should resume the app with the last activity the user was on but it doesn't.

If the user resumed the app from the Recent apps menu it resumes as expected.

------------------------------------------------------------------------------------------

I'm getting nowhere trying to track this down.

What would cause the Main activity to be randomly recreated? I'm not calling the Main activity anywhere in code.

You can see in my log:

08/09/2022 07:20:36.524 - In MessageSender.Service_Destroy
08/09/2022 07:29:16.011 - In Main Activity_Create <- Main...



 

عقب
بالا