libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/InstructionLoader.java
public void initialize(Context context) {
    if (!isInitialized) {
      Picasso.Builder builder = new Picasso.Builder(context)
        .loggingEnabled(true);
      picassoImageLoader = builder.build();

      this.urlDensityMap = new UrlDensityMap(context);
      targets = new ArrayList<>();

      isInitialized = true;
    }
  }
/**
   * Must be called before loading images.
   * <p>
   * Initializes a new {@link Picasso} instance as well as the
   * {@link ArrayList} of {@link InstructionTarget}.
   *
   * @param context to init Picasso
   */
Must be called before loading images.

Initializes a new  Picasso instance as well as the
ArrayList of  InstructionTarget.

@param context to init Picasso
Must be called before loading images . Initializes a new Picasso instance as well as the ArrayList of InstructionTarget . @param context to init Picasso
public void initialize(Context context) {
    if (!isInitialized) {
      Picasso.Builder builder = new Picasso.Builder(context)
        .loggingEnabled(true);
      picassoImageLoader = builder.build();
      this.urlDensityMap = new UrlDensityMap(context);
      targets = new ArrayList<>();
      isInitialized = true;
    }
  }
public void initialize ( Context context ) { if ( ! isInitialized ) { Picasso . Builder builder = new Picasso . Builder ( context ) . loggingEnabled ( true ) ; picassoImageLoader = builder . build ( ) ; this . urlDensityMap = new UrlDensityMap ( context ) ; targets = new ArrayList < > ( ) ; isInitialized = true ; } }
Must be called before loading images.
Must be called before loading images .