Instead of loading the users profile pic from the server constantly, we should store the picture locally as well as on the server. It should get updated any time the users updates the profile pic. Then in the app it should pull from the local storage when the picture is needed instead of querying to the server.
Instead of loading the users profile pic from the server constantly, we should store the picture locally as well as on the server. It should get updated any time the users updates the profile pic. Then in the app it should pull from the local storage when the picture is needed instead of querying to the server.