Skip to content

Releases: daemon369/android-view-common

v0.3.0

05 Sep 03:05

Choose a tag to compare

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.InfrastructureApp or it's subclass should be your custom Application to make it work:
    • dp2px(dp: Float): Float
    • px2dp(px: Float): Float
    • sp2px(sp: Float): Float
    • px2sp(px: Float): Float
    • screenWidth: Int
    • screenHeight: Int
    • Int.color(): Int
    • Int.dimen(): Float
    • Int.drawable(): Drawable
    • Int.string(): String
    • Int.string(vararg arg: Any): String

Changed

  • upgrade kotlin to 1.5.21
  • upgrade fragment to 1.3.6

Removed

添加

  • APP的Applicationme.daemon.infrastructure.application.InfrastructureApp或其子类时,可以使用以下不依赖Context的方法、属性、扩展方法:
    • dp2px(dp: Float): Float
    • px2dp(px: Float): Float
    • sp2px(sp: Float): Float
    • px2sp(px: Float): Float
    • screenWidth: Int
    • screenHeight: Int
    • Int.color(): Int
    • Int.dimen(): Float
    • Int.drawable(): Drawable
    • Int.string(): String
    • Int.string(vararg arg: Any): String

变更

  • 升级kotlin1.5.21版本
  • 升级fragment1.3.6版本

删除

Upgrade kotlin to 1.4.32, publish to maven central

17 Jun 03:52

Choose a tag to compare

Upgrade kotlin to 1.4.32, upgrade fragment to 1.3.4, publish to maven central

Added

Changed

  • upgrade kotlin to 1.4.32
  • upgrade fragment to 1.3.4
  • publish to maven central through sonatype

Removed

添加

变更

  • 升级kotlin1.4.32版本
  • 升级fragment1.3.4版本
  • 通过sonatype发布到中央仓库

删除

don't rounding dp/sp/px to Int

27 Jun 06:37

Choose a tag to compare

0.0.4

add instructions to README

add extension tools for Context

27 Jun 03:33

Choose a tag to compare

0.0.3

add extensions tools for context

add dp/px and sp/px convert tools

27 Jun 03:31

Choose a tag to compare

0.0.2

add dp/px and sp/px convert tools

First release, providing Gravity

26 Jun 14:11

Choose a tag to compare

Add Gravity

添加 Gravity

Added

Changed

Removed

添加

变更

删除