DEV Community

Cover image for AndroidBites | Deepest Dive into View-Binding
Chetan garg
Chetan garg

Posted on

AndroidBites | Deepest Dive into View-Binding

carbon (6) (1).png

I'm pretty late to the party but here is my blog on view-binding,
It's pretty much more in-depth than others you would find in the community.

Glossary

  • Is data binding not working in all the modules? Why your fields are not getting generated?
  • How to view the source code of your generated binding classes?
  • Generated classes are Kotlin or Java? and why?
  • Do View-binding views are never null?
  • How to access included views? and tags?
  • How to bind Activities, Fragments, Adapters, and CustomViews?
  • When to use bind and Inflate?
  • Controlling ViewBinding Generation?
  • Reducing boilerplate code with Delegates and Base-Class for ViewBinding in Activity and Fragments?
  • Common mistakes and Anti-patterns in ViewBinding?

Hope to see you on the other side...

👉 AndroidBites | View-Binding

Until next time. Happy Hacking! 👩‍💻

Stalk Me 👀 :

LinkedIn | Medium | Twitter | StackOverflow | CodeWars | WorkX | Github | Instagram | Youtube

Top comments (0)