AndroidBites | Dive Deep into View-Binding

AndroidBites | Dive Deep into View-Binding

ยท

2 min read

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 view 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...

Until next time. Happy Hacking! ๐Ÿ‘ฉโ€๐Ÿ’ป

Stalk Me ๐Ÿ‘€ :
LinkedIn | Medium | Twitter | StackOverflow | CodeWars | WorkX | Github | Instagram | Youtube