DEV Community

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

Posted on

1 1

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

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay