File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
src/main/java/com/gigamole/library Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ dependencies {
32
32
Or Gradle Maven Central:
33
33
34
34
``` groovy
35
- compile 'com.github.devlight.pulseview:library:1.0.1 '
35
+ compile 'com.github.devlight.pulseview:library:1.0.2 '
36
36
```
37
37
38
38
Or Maven:
@@ -41,7 +41,7 @@ Or Maven:
41
41
<dependency>
42
42
<groupId>com.github.devlight.pulseview</groupId>
43
43
<artifactId>library</artifactId>
44
- <version>1.0.1 </version>
44
+ <version>1.0.2 </version>
45
45
<type>aar</type>
46
46
</dependency>
47
47
```
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ apply plugin: "com.jfrog.bintray"
19
19
apply plugin : ' com.github.dcendents.android-maven'
20
20
apply plugin : ' maven'
21
21
22
- version = " 1.0.1 "
22
+ version = " 1.0.2 "
23
23
24
24
android {
25
25
compileSdkVersion 23
@@ -29,7 +29,7 @@ android {
29
29
minSdkVersion 11
30
30
targetSdkVersion 23
31
31
versionCode 1
32
- versionName " 1.0.1 "
32
+ versionName " 1.0.2 "
33
33
}
34
34
buildTypes {
35
35
release {
Original file line number Diff line number Diff line change @@ -419,6 +419,12 @@ protected void onDraw(final Canvas canvas) {
419
419
if (hasWindowFocus ()) postInvalidate ();
420
420
}
421
421
422
+ @ Override
423
+ protected void onVisibilityChanged (final View changedView , final int visibility ) {
424
+ super .onVisibilityChanged (changedView , visibility );
425
+ restorePulseState ();
426
+ }
427
+
422
428
@ Override
423
429
public void onWindowFocusChanged (final boolean hasWindowFocus ) {
424
430
super .onWindowFocusChanged (hasWindowFocus );
You can’t perform that action at this time.
0 commit comments