View InMainThreadDecorator
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
interface Base{ | |
fun foo() | |
} | |
class BI : Base{ | |
override fun foo() { | |
} | |
} |
View MainActivity.java
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) { | |
} | |
}); | |