AuthorSachin Kakade

Use Glide Cache efficiently in Glide Android

U

The issue is that currently if I call Glide.load() multiple times with the same URL. however, each time with an image views the image gets downloaded again. It happens because the width and height are mixed into the cache key so if you load the same image into multiple different views with different sizes, the image will be fetched once per image by default. You can change this by calling  ...

Maintain cookie session in Android(Retrofit)

M

A session is a sequence of requests made by a single end-user during a visit to a particular site. A session or query session may be all queries made by a user in a particular time period or it may also be a series of queries or navigation with a consistent underlying user need. In Android, if we use the retrofit for web services call it internally uses OkHttp and OkHttp does not keep the track...

Category