Android-Iconics v4.0.0 Release Notes

Release Date: 2019-06-07 // almost 5 years ago
  • โš  WARNING

    • ๐Ÿš€ this release is fully migrated to kotlin
    • many breaking changes

    MIGRATION core v3.x.x -> 4.x.x

    Now libraries is kotlin-first

    • Font files
      • Font's store now based on default way to store fonts. (moved from common assets to font-specific resource assets)
    • Iconics
      • No context from now required. We get the application context via ContentProvider
    • Iconics.IconicsBuilder
      • Renamed to Iconics.Builder
      • Removed ctx(Context) method
    • IconicsDrawable
      • Replaced all *Res(int), *Px(int), *Dp(int) method to use IconicsSize and IconicsColor classes instead
      • Constants TOOLBAR_ICON_SIZE and TOOLBAR_ICON_PADDING moved to IconicsSize
      • All getters now have property-syntax
      • All producer-provided methods from Android-Iconics Kt are included in class and can return nullable value (value will be set only when not null)
      • enableShadowSupport(View) moved to IconicsUtils
    • All utils classes and typeface libraries now can not be instantiated
    • ITypeface
      • Method getTypeface(Context) replaced with field rawTypeface
      • Automatically retrieves raw font from file by provided fontRes (see GenericFont.kt if You wont to use old scheme)
    • ๐Ÿ“ฆ Some package names for the icon fonts changes
    • โšก๏ธ Old icon fonts are no longer compatible, please update to the kotlin versions

    ๐Ÿ”„ Changes

    • Fully migrated to kotlin
    • Adjusted many APIs and cleanup
    • โž• Add various kotlin extensions to simplify
    • ๐Ÿ†• New more advanced animation engine
    • ...

    Depencencies

    The following major dependency versions are required:

    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.x.y"implementation "androidx.core:core-ktx:$versions.ktx.core"implementation "androidx.appcompat:appcompat:1.x.y"