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
- Renamed to
IconicsDrawable
- Replaced all
*Res(int)
,*Px(int)
,*Dp(int)
method to useIconicsSize
andIconicsColor
classes instead - Constants
TOOLBAR_ICON_SIZE
andTOOLBAR_ICON_PADDING
moved toIconicsSize
- 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 toIconicsUtils
- Replaced all
- All
utils
classes and typeface libraries now can not be instantiated ITypeface
- Method
getTypeface(Context)
replaced with fieldrawTypeface
- Automatically retrieves raw font from file by provided
fontRes
(see GenericFont.kt if You wont to use old scheme)
- Method
- ๐ฆ 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"