Hello,
After some research and talking to fellow forum members, I think I found my problem why my app has a high lag when the app is resumed : I have so many views in designer, it is too late to remove them from designer and add all of them via code, it will take too much effort and time. I am thinking of creating a second layout which has the splash screen only , and when user is coming back to app, I only want to draw this new layout and after all these completed I want to create all views with the old layout.
my question is, how can I deinitalize all the views in the big layout file when user minimzes the app so that I can load the new layout on activity resume,after all these operations complete I will load the huge layout.
Thanks
After some research and talking to fellow forum members, I think I found my problem why my app has a high lag when the app is resumed : I have so many views in designer, it is too late to remove them from designer and add all of them via code, it will take too much effort and time. I am thinking of creating a second layout which has the splash screen only , and when user is coming back to app, I only want to draw this new layout and after all these completed I want to create all views with the old layout.
my question is, how can I deinitalize all the views in the big layout file when user minimzes the app so that I can load the new layout on activity resume,after all these operations complete I will load the huge layout.
Thanks