Reputation: 3219
I have been looking for a simpler way to speed up my app performance. I am not new but I am not a real experienced android programmer so I want to look for something easily implementable that will help my app perform better. As of now I use flags from the Intent class and have looked up other solutions but most of what I have found online is either very complicated or does not make a real impact on my app's performance. All help and suggestions are welcome, thank you.
Upvotes: 0
Views: 40
Reputation: 4219
You are not going to have any benefit in performance by using frags. If I were you I would try making the instantiation of the target activity as quick as possible. Do not do any hard work on the main thread, which will result slowing down the creation of the new activity.
Also, you can modify the enter animation of the new activity so that the user doesn't have to wait as long for it to be interactable. This can be tricky to get right though design wise.
Upvotes: 1