Skip to content

0.28.0 Migration Guide

Dan Nesfeder edited this page Jan 30, 2019 · 2 revisions

SEMVER breaks:

  • In this PR, we removed a lot of .xml vector drawable resources that were unused by the SDK.
  • ImageCoordinator was renamed to ImageCreator
  • ImageCoordinator#loadImages was removed
  • ImageCoordinator#addShieldInfo was removed

The main purpose of the ImageCreator class now is to pre-cache the shield images for the InstructionLoader so they load instantaneously when it is time for the BannerText to load into the TextView.

ThemeSwitcher#retrieveThemeMapMarker no longer returns the deprecated Icon class.

Old:

public static Icon retrieveThemeMapMarker(Context context) 

New:

public static Bitmap retrieveThemeMapMarker(Context context) {