Zappy.Mans Zappy.Mans - 1 year ago 88
Android Question

Manage image with Firebase

I am developing an android app that using firebase. My app looks like

app UI

App shows card that contains image.
I don't know how to manage image when app works in offline mode.
Could you give me suggestion to resolve it ?

Answer Source
  1. First, use offline capabilities of Firebase by using .setPersistenceEnabled(true);
  2. Use a Image Managing Cloud Server like Cloudinary to store all your images.
  3. In your Firebase database, save the Url to the image as a String.
  4. Use a Image Library like Picasso to get your image from the url.

This worked for me, hope it helps you.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download