Skip to content

Commit

Permalink
DistinctMutableLiveData now extends MutableLiveData
Browse files Browse the repository at this point in the history
  • Loading branch information
c-b-h committed May 5, 2020
1 parent b475e26 commit cdf0483
Show file tree
Hide file tree
Showing 5 changed files with 150 additions and 2 deletions.
122 changes: 122 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package se.ingenuity.lives;

import androidx.annotation.NonNull;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;

import java.util.concurrent.atomic.AtomicBoolean;

public class DistinctMutableLiveData<T> extends LiveData<T> {
public class DistinctMutableLiveData<T> extends MutableLiveData<T> {
@NonNull
private final Object dataLock = new Object();

Expand Down

0 comments on commit cdf0483

Please sign in to comment.