-1

Fresco is not working when I am initializing it in the OnCreate or OnCreateView of the fragment. Is there something I am doing wrong?

Shubham Panda
  • 87
  • 2
  • 4

1 Answers1

0

You have to initialize Fresco only once, in your custom Application. Example:

public class MyApplication extends Application {
  @Override
  public void onCreate() {
    super.onCreate();
    Fresco.initialize(this);
  }
}

More info: http://frescolib.org/docs/

Alexander Oprisnik
  • 1,212
  • 9
  • 9