This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Android app Blinky - How does databinding in the Scanner Activity work?

In the scanner activity of the Blinky android app, there is the following import:

import com.switchmaterials.android.nordicble.databinding.ActivityScannerBinding;
It is then used to create an ActivityScannerBinding object called binding
private ActivityScannerBinding binding;
The binding object is then used to control the UI, but how does this import work? How would I go recreating this binding in my own application? I can't find anything called "databinding" in the no.nordicsemi.android.blinky package directory tree, and I'm not sure how to research this detail online.

Thanks,

Mark

Parents Reply Children
No Data
Related