Skip to content

Commit

Permalink
release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
daemon369 committed Sep 5, 2021
1 parent 281712e commit 99ee494
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## [0.3.0] - 2021-09-05

### Added

- APP的`Application``me.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`

## [0.2.0] - 2021-06-30

### Changed
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/me/daemon/plugin/Configuration.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ object Configuration {
const val buildToolsVersion = "30.0.3"
const val groupId = "io.github.daemon369"
const val artifactId = "android-view-common"
const val version = "0.2.0"
const val version = "0.3.0"

@Suppress("ClassName")
object pom {
Expand Down

0 comments on commit 99ee494

Please sign in to comment.