Skip to content

Commit

Permalink
Prepare version 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkil committed Dec 29, 2016
1 parent b085a39 commit 34cc5ea
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Change Log
==========

## Version 1.1.5

_2016-12-29_

* Changed min API level to 16 (Android 4.1).


## Version 1.1.4

_2016-12-28_
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Android-Snowfall

[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Android--Snowfall-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/4952)
[![Release](https://jitpack.io/v/jetradarmobile/android-snowfall.svg)](https://jitpack.io/#jetradarmobile/android-snowfall)
[![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=15)
[![API](https://img.shields.io/badge/API-16%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=16)

Fully customizable implementation of "Snowfall View" on Android.

Expand Down Expand Up @@ -36,7 +36,7 @@ Add the dependency

```groovy
dependencies {
compile 'com.github.jetradarmobile:android-snowfall:1.1.4'
compile 'com.github.jetradarmobile:android-snowfall:1.1.5'
}
```

Expand Down
4 changes: 2 additions & 2 deletions snowfall-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'

dependencies {
compile project(':snowfall')
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.0.6'
}

Expand All @@ -13,7 +13,7 @@ android {

defaultConfig {
applicationId "com.jetradarmobile.snowfall.sample"
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
Expand Down
3 changes: 1 addition & 2 deletions snowfall/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

dependencies {
compile 'com.android.support:support-compat:25.0.1'
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.0.6'
}

Expand All @@ -11,6 +10,6 @@ android {
buildToolsVersion "25.0.2"

defaultConfig {
minSdkVersion 15
minSdkVersion 16
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import android.graphics.Bitmap
import android.graphics.Canvas
import android.os.Handler
import android.os.HandlerThread
import android.support.v4.view.ViewCompat
import android.util.AttributeSet
import android.view.View

Expand Down Expand Up @@ -118,7 +117,7 @@ class SnowfallView(context: Context, attrs: AttributeSet) : View(context, attrs)
private fun updateSnowflakes() {
updateSnowflakesThread.handler.post {
snowflakes.forEach { it.update() }
ViewCompat.postInvalidateOnAnimation(this)
postInvalidateOnAnimation()
}
}

Expand Down

0 comments on commit 34cc5ea

Please sign in to comment.