I tried the activity lifecycle code , shown in this video on my android studio , but in the logcat area , there is no change in the activity state (i.e oncreate, onstop,etc) . When i closed the application it is not showing on destroy or when i take it to the background , its not showing onpause or onstop. It only shows three activity at starting when the app is launched , but nothing after that. Please help me to solve this problem.
Activity Lifecycle , No Result In LogCat
Can you send the screenshot of the logcat in which messages are displayed?
It seems your logcat has wrong filters.
it got solved I went to the run tab and then edit configuration there , I went to miscellaneous tab and I clicked show logcat automatically and then it got resolved , should I send the screenshot , will it be a problem in later course
No, it shouldn’t be a problem
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.