Releases: daemon369/android-view-common
Releases · daemon369/android-view-common
v0.3.0
Upgrade kotlin to 1.5.21, upgrade fragment to 1.3.6, add new tools
Added
- Add new functions, new properties, etc;
me.daemon.infrastructure.application.InfrastructureAppor it's subclass should be your custom Application to make it work:dp2px(dp: Float): Floatpx2dp(px: Float): Floatsp2px(sp: Float): Floatpx2sp(px: Float): FloatscreenWidth: IntscreenHeight: IntInt.color(): IntInt.dimen(): FloatInt.drawable(): DrawableInt.string(): StringInt.string(vararg arg: Any): String
Changed
- upgrade
kotlinto1.5.21 - upgrade
fragmentto1.3.6
Removed
添加
- APP的
Application为me.daemon.infrastructure.application.InfrastructureApp或其子类时,可以使用以下不依赖Context的方法、属性、扩展方法:dp2px(dp: Float): Floatpx2dp(px: Float): Floatsp2px(sp: Float): Floatpx2sp(px: Float): FloatscreenWidth: IntscreenHeight: IntInt.color(): IntInt.dimen(): FloatInt.drawable(): DrawableInt.string(): StringInt.string(vararg arg: Any): String
变更
- 升级
kotlin到1.5.21版本 - 升级
fragment到1.3.6版本
删除
Upgrade kotlin to 1.4.32, publish to maven central
Upgrade kotlin to 1.4.32, upgrade fragment to 1.3.4, publish to maven central
Added
Changed
- upgrade
kotlinto1.4.32 - upgrade
fragmentto1.3.4 - publish to maven central through sonatype
Removed
添加
变更
- 升级
kotlin到1.4.32版本 - 升级
fragment到1.3.4版本 - 通过
sonatype发布到中央仓库
删除
don't rounding dp/sp/px to Int
0.0.4 add instructions to README
add extension tools for Context
0.0.3 add extensions tools for context
add dp/px and sp/px convert tools
0.0.2 add dp/px and sp/px convert tools