Skip to content

Instantly share code, notes, and snippets.

@mochadwi
Created May 12, 2019 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mochadwi/96b6ed329d07b361313f4f16899d17c6 to your computer and use it in GitHub Desktop.
Save mochadwi/96b6ed329d07b361313f4f16899d17c6 to your computer and use it in GitHub Desktop.
Android - Data Binding Error
java.lang.RuntimeException: Unable to start activity ComponentInfo{io.mochadwi.go.development/io.mochadwi.view.weather.WeatherActivity}: java.lang.IllegalStateException: Required DataBindingComponent is null in class CustomLoadingBindingImpl. A BindingAdapter in io.mochadwi.util.binding.ProgressBinding is not static and requires an object to use, retrieved from the DataBindingComponent. If you don't use an inflation method taking a DataBindingComponent, use DataBindingUtil.setDefaultComponent or make all BindingAdapter methods static.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment