Skip to content

Commit

Permalink
Updated version to 0.9.10
Browse files Browse the repository at this point in the history
  • Loading branch information
oneHamidreza committed Jan 30, 2021
1 parent ee0504c commit 639a213
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion MeowFramework/src/main/kotlin/meow/ktx/SystemExt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import androidx.core.content.ContextCompat
import androidx.fragment.app.Fragment
import com.etebarian.meowframework.R
import meow.controller
import kotlin.math.ceil

/**
* System/OS Extensions.
Expand Down Expand Up @@ -174,7 +175,7 @@ fun Context?.getStatusBarHeight(): Int {
}

fun Float.dp() = this * controller.dpi
fun Int.dp() = (this.toFloat() * controller.dpi).toInt()
fun Int.dp() = ceil(this.toFloat() * controller.dpi).toInt()

fun Float.px() = this / controller.dpi
fun Int.px() = (this.toFloat() / controller.dpi).toInt()
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Dynamic Localization and Day/Night Theme & Meow Custom Widgets are another featu
</p>

<p align="center">
<a href="https://bintray.com/infinitydesign/meow/Meow-Framework-MVVM/0.9.9/link">
<img src="https://api.bintray.com/packages/infinitydesign/meow/Meow-Framework-MVVM/images/download.svg?version=0.9.9"/>
<a href="https://bintray.com/infinitydesign/meow/Meow-Framework-MVVM/0.9.10/link">
<img src="https://api.bintray.com/packages/infinitydesign/meow/Meow-Framework-MVVM/images/download.svg?version=0.9.10"/>
</a>
</p>

## 📱 Sample Application

We suggest you to install [Meow-Sample.apk](https://github.com/oneHamidreza/Meow-Framework-MVVM/releases/download/v0.9.9/Meow-Framework-Sample-v0.9.9.apk) to be familiar with `Meow Framework`.
We suggest you to install [Meow-Sample.apk](https://github.com/oneHamidreza/Meow-Framework-MVVM/releases/download/v0.9.10/Meow-Framework-Sample-v0.9.10.apk) to be familiar with `Meow Framework`.

<p>
<a target="_blank" href="https://play.google.com/store/apps/details?id=com.etebarian.meowframework_sample&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1">
Expand Down Expand Up @@ -49,7 +49,7 @@ If you like this project and you want to give us peace of mind, you can support
## 🛠 Setup

```groovy
implementation("com.etebarian:meow-framework-mvvm:0.9.9")
implementation("com.etebarian:meow-framework-mvvm:0.9.10")
```

After adding library, some of most useful libraries (such as `Androidx AppCompat` , `Coroutine` , `Glide` , `Kodein` , `Kotlinx Serialization` , `Material Components` , `Moshi` , `Navigation Components` , `Retrofit` ) will be added in your app. So you would'nt need to add this libraries manually.
Expand Down Expand Up @@ -171,7 +171,7 @@ controller.updateLanguage(meowActivity, string)
controller.updateTheme(meowActivity, theme)
```

The Sample Application has above features. try to install [Meow-Sample.apk](https://github.com/oneHamidreza/Meow-Framework-MVVM/releases/download/v0.9.9/Meow-Framework-Sample-v0.9.9.apk) .
The Sample Application has above features. try to install [Meow-Sample.apk](https://github.com/oneHamidreza/Meow-Framework-MVVM/releases/download/v0.9.10/Meow-Framework-Sample-v0.9.10.apk) .

### 📐 MVVM Architecture

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/meow/AppConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ object AppConfig {
const val API = 1
const val MAJOR = 0
const val MINOR = 9
const val PATCH = 9
const val PATCH = 10
val BUILD_PHASE = Build.PHASE.STABLE

const val SDK_COMPILE = 30
Expand Down

0 comments on commit 639a213

Please sign in to comment.