Skip to content

Instantly share code, notes, and snippets.

@Chickinnick
Chickinnick / MainActivity.java
Created Feb 6, 2018
Compile ProcessException in Desugar
View MainActivity.java
//compiled successfully
MutableLiveData<BaseProduct> mutableLiveData = new MutableLiveData<>();
mutableLiveData.observe(this, new Observer<BaseProduct>() {
@Override
public void onChanged(@Nullable BaseProduct baseProduct) {
}
});
View InMainThreadDecorator
interface Base{
fun foo()
}
class BI : Base{
override fun foo() {
}
}