---
title: "Discussion on \"Guide to Android Data Binding\" | Hashnode"
description: "Discussion on \"Guide to Android Data Binding\". What is Data Binding?\nIt is a technique to connect Data with your views.  \nHow it works?\nIt generates a java file that connects your views with the data.  \nSetting up project for Data Binding\nbuild.gradle(:app)  \nplugins {\n    ...\n    id 'kotlin-kapt..."
url: "https://hashnode.com/posts/guide-to-android-data-binding/6130f9464f9f94786b9683ac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Guide to Android Data Binding](https://yogeshpaliyal.hashnode.dev/guide-to-android-data-binding?utm_source=hashnode&utm_medium=feed)

What is Data Binding? It is a technique to connect Data with your views. How it works? It generates a java file that connects your views with the data. Setting up project for Data Binding build.gradle(:app) plugins { ... id 'kotlin-kapt...

Sep 2, 2021 · 3 min read · yogeshpaliyal.hashnode.dev  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#android-development](https://hashnode.com/tag/android-development)
-   [#android-app-development](https://hashnode.com/tag/android-app-development)

## Written by

[Yogesh Choudhary Paliyal](https://hashnode.com/@YogeshPaliyal)

@YogeshPaliyal · Jodhpur, Rajasthan

  
[View profile](https://hashnode.com/@YogeshPaliyal)

Developer by Passion & Profession

## Responses 1

Markdown supported · ⌘↵ to post

[Rohit Jakhar](https://hashnode.com/@rohitjakhar)

[Sep 2, 2021](https://hashnode.com/posts/guide-to-android-data-binding/6130f9464f9f94786b9683ac/comment/6130fcdf77de087890b8da74)

Data binding seems harder than view binding. I am never try data binding because its very complicated while view binding is very easy to use. But great source may i will try data binding.

[Yogesh Choudhary Paliyal](https://hashnode.com/@YogeshPaliyal)

[Sep 2, 2021](https://hashnode.com/posts/guide-to-android-data-binding/6130f9464f9f94786b9683ac/comment/6130fcdf77de087890b8da74#reply-6130fd964f9f94786b9684f4)

View Binding is a lighter version of Data Binding. View Binding can only replace the findViewById.

but Data Binding is a very powerful tool. I highly recommend using DataBinding, it will make life easier
