For the performance optimization and we have to handle the background processing related things. So we should maintain like UI related things, it should be on the main thread and background related things like background processing network calls and the database related queries and like for the long term running task will be there, will be in the background thread. So we have to maintain the thread accordingly, also we have to specifically for the short term use we have to use the weak references of the resources and weak references of the objects and we have to aware about the context that we have used in our application. So whenever we need we have to use the activity context instead of the application concept. So because the lifetime will be different. So another thing is like we have to done the resource optimization, we can done resource optimization by like by using images like by using the vector image instead of the bitmap and we can reduce the overdraw in layouts and we can optimize the layout in by reducing the overdraw and we can also we can also reduce the memory leak if there is any and we have to we have to include techniques like lazy loadings and we have to include lazy loading related things and if there is and I always used to check the CP Android app CP usage memory usage and network usage and it will track that using the Android profiler and so if using the Android profiler we will get to know about it and we will track that and if there is if there is a want to perform any optimization we can done in development itself and so for the network related things we can catch the response and we can catch the response and request and we can optimize the network call we can reduce the unnecessary network call and we can catch the image response if we are using the glide so that that thing we can done.
