Created
February 6, 2018 10:59
-
-
Save Chickinnick/6ce2f46b30cc18a540178dd664437d1c to your computer and use it in GitHub Desktop.
Compile ProcessException in Desugar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//compiled successfully | |
MutableLiveData<BaseProduct> mutableLiveData = new MutableLiveData<>(); | |
mutableLiveData.observe(this, new Observer<BaseProduct>() { | |
@Override | |
public void onChanged(@Nullable BaseProduct baseProduct) { | |
} | |
}); | |
//not compiled | |
MutableLiveData<BaseProduct> mutableLiveData2 = new MutableLiveData<>(); | |
mutableLiveData2.observe(this, baseProduct -> { | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment