Skip to content

Instantly share code, notes, and snippets.

@Philio
Last active October 29, 2020 04:09
Show Gist options
  • Save Philio/0306af6029bff443a23d0d78dcd7371d to your computer and use it in GitHub Desktop.
Save Philio/0306af6029bff443a23d0d78dcd7371d to your computer and use it in GitHub Desktop.
@DataBinding
@Component(dependencies = AppComponent.class, modules = BindingModule.class)
public interface BindingComponent extends DataBindingComponent {}
@DataBinding
@Component(dependencies = [AppComponent::class], modules = [BindingModule::class])
interface BindingComponent : DataBindingComponent {
override fun getImageBindingAdapter(): ImageBindingAdapter // Won't build without this
}
@Philio
Copy link
Author

Philio commented Oct 29, 2020

No need to override DatBindingComponent method?

It seems that this is still a requirement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment