| Start |
|---|
| Getting Started with Fresco First, add Fresco to your If you need additional features, like animated GIF or WebP support, you have to add the corresponding Fresco artifacts (opens new window) as well. Fresco needs to be initialized. You should only do this 1 time, so placing the initialization in your If you want to load remote images from a server, your app needs the internt permission. Simply add it to your Then, add a So you can either add a Or supply an aspect ratio for your image: Finally, you can set your image URI in Java: That's it! You should see your placeholder drawable until the network image has been fetched. |
| Using OkHttp 3 with Fresco First, in addition to the normal Fresco Gradle dependency, you have to add the OkHttp 3 dependency to your When you initialize Fresco (usually in your custom |
| JPEG Streaming with Fresco using DraweeController This example assumes that you have already added Fresco to your app (see this example (opens new window)): RemarksHow to set up dependencies in the app level build.gradle file: More information can be found here (opens new window). |
Read Article
https://develop.horje.com/learn/1434/reference