Releases: mikepenz/Android-Iconics
Releases · mikepenz/Android-Iconics
v4.0.1-b02
- specify the -module-name for kotlin to fix un-expected META-INF conflicts
- update to kotlin 1.3.50
- update gradle build tools
v4.0.1-b01
- introduces new
Experimental
DSL for theIconicsDrawable
(API might still change)- Thanks @AllanWang (#461)
- introduce more extension functions to converters
- deprecate old converters, introduce proper replace rule
- deprecate old extension functions in IconicsDrawable class
- refactor code to make use of new proper extension funcions
Font addons
- new
Material Design Icons DX
(#464)- Thanks @hadi72h
implementation 'com.mikepenz:material-design-icons-dx-typeface:5.0.1.0-kotlin@aar'
(maven central sync still pending)
v4.0.0
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"
v4.0.0-rc02
WARNING
- includes all changes of v4.0.0-rc01
Changes
- removes kotlin reflect dependency
- fixes community icons proguard specification
- improves proguard rule
v4.0.0-rc01
WARNING
- this release is the first release of
Android-Iconics
migrated to kotlin. - many breaking changes!
Changes
- in construction