Dinesh Singh
Dinesh Singh

Reputation: 49

Image loading from server

Which is the fastest and best way to get image from server in android app.

     1. Image url
     2. base64 format

or any other format which load image very quick as on normal internet speed.

Upvotes: 1

Views: 199

Answers (2)

Nirmal Prajapat
Nirmal Prajapat

Reputation: 1817

Just use glide for faster image load in your application because glide uses caching of images and it loads an image after compressing it a little bit. Even Google recommend this library to developers , Google used this library in Gmail.

Upvotes: 0

dcanbatman
dcanbatman

Reputation: 212

As mentioned here base64 format is %37 larger than normal image. So if you use base64 format, you will have larger image and longer download time. In this case, you need to use normal image url.

To download images as fast as possible, you can use Picasso or Glide.

Upvotes: 2

Related Questions