View Binding, replace findViewById and can be used both with Java and Kotlin

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 52

  • @rajeshvq
    @rajeshvq 4 года назад +1

    Many tutorial I watched but yours is the best

  • @gibraanjafar1669
    @gibraanjafar1669 3 года назад +2

    Thanks man. For the quality content you deliver, I don't mind watching the adverts during the vids.

  • @assassinhitman
    @assassinhitman 2 года назад +2

    Excellent. Concise and well explained.

  • @ajaywaghe6663
    @ajaywaghe6663 4 года назад +3

    भावा ! आता तर राडाच. खतरनाक ! i was eagerly waiting . Please Make Videos On android background Service.

  • @fazaljarral2792
    @fazaljarral2792 4 года назад +5

    Thank you. Learned a new thing today

  • @fassihurrehman3585
    @fassihurrehman3585 3 года назад +1

    Thanks for an easy content.

  • @AshishKumar-px3tj
    @AshishKumar-px3tj 3 года назад +1

    Thank you 💓 doubt got resolved

  • @vijayjangid8967
    @vijayjangid8967 3 года назад +1

    GREAT VIDEO!

  • @TheAbhidugar
    @TheAbhidugar 3 года назад +1

    I used view binding but main activity xml wasn't inflating. Either it was giving exception or it was not showing layout on phone. I also added a custom style in manifest file to hide Action bar in main activity only. But after hours of experimenting I removed view binding and used old way of setcontentview(R.layout.activity_main) and it worked.
    can you please confirm this?

  • @bite027_ketansharma6
    @bite027_ketansharma6 2 года назад

    great tutorial, thanks!

    • @mafiacodes
      @mafiacodes  2 года назад

      You're welcome, Subscribe Like Share

  • @AtulGupta-jj7ek
    @AtulGupta-jj7ek 4 года назад +1

    Hey can you please make a tutorial on How we use Geofire and what's the purpose of using Geofire over other available options

  • @tamirmoav3774
    @tamirmoav3774 3 года назад +1

    very easy and useful. thank you!
    I don't understand why google developers could not think about this before, so we must always learn new methods, make us believe that there is a fake evolution of software programming. I mean come on! didn't Google developers noticed before that findViewById can cause runtime errors?? didnt they noticed that using a costumed list was very complicated?

  • @Mar1juananas
    @Mar1juananas 2 года назад

    I love you from France

  • @maheshprasad8509
    @maheshprasad8509 4 года назад

    I want to know one thing. if you see in the MainActivity file. there are a date and file size. how to do that

  • @arkamondal6160
    @arkamondal6160 4 года назад +1

    Thank you sir. Sir please more video on viewbinding

  • @fluffymaverick
    @fluffymaverick 3 года назад +1

    Hi Bro! what is the font you use in this theme? looks cool 🔥🔥🔥

  • @hemalparmar8284
    @hemalparmar8284 2 года назад

    I enabled the activity binding but when i type ActivityMainBinding in Mai activity file i got error

  • @johnfriend2010
    @johnfriend2010 4 года назад +1

    gracias bien explicado rapido y sencillo

  • @annguyenhoang3589
    @annguyenhoang3589 4 года назад +2

    Nice contents, keep making video sir.

  • @shabeenmhmd6219
    @shabeenmhmd6219 3 года назад +1

    BaseActivity layouts didn't work properly in OtherActivity which extends baseActivity . Any solution sir?

  • @alishechka29
    @alishechka29 4 года назад +1

    thank you sir

  • @vickynegi1345
    @vickynegi1345 4 года назад +2

    Great work as always :) ,
    Do you have videos on data binding too ?

  • @Mirtguitar
    @Mirtguitar Год назад

    good tutorial

  • @gaganyadav9146
    @gaganyadav9146 3 года назад +1

    thanks bro

  • @harishreddy8247
    @harishreddy8247 4 года назад +1

    super explanation please show me difference viewbinding and databinding in one video

  • @techbrainz
    @techbrainz 4 года назад

    ActivityMainBinding class is not generating in android gradle plugin veraion 3.6.1

    • @mafiacodes
      @mafiacodes  4 года назад

      Try rebuilding ur project and why u wanna use this gradle plugin?

    • @techbrainz
      @techbrainz 4 года назад

      @@mafiacodes wt u asking why i wanna use 3.6.1 u r asking na bro or u saying i ahould have to use 3.6.2 gradle version

  • @MCStarYT
    @MCStarYT 4 года назад

    Is this similar to the Kotlin feature that you don't need findViewById()

  • @techbrainz
    @techbrainz 4 года назад

    Can we use viewbinding in gradle plugin version 3.6.1

    • @mafiacodes
      @mafiacodes  4 года назад

      I don't see any use of using gradle 3.6.1 but you can try that, the basic requirement is Android Studio 3.6 Canary 11+
      Subscribe like share...

  • @harishreddy8247
    @harishreddy8247 4 года назад

    thanks sir please do more videos

  • @programacaopro8717
    @programacaopro8717 4 года назад +1

    Works with fragments

  • @harishreddy8247
    @harishreddy8247 4 года назад

    please try to multiple video it's understandle good ide text color

  • @alifdoll6372
    @alifdoll6372 4 года назад

    Thnks sir

  • @aksheysharma4769
    @aksheysharma4769 4 года назад +1

    This video do not contain Kotlin Code

    • @mafiacodes
      @mafiacodes  4 года назад +1

      Yes it contains JAVA code

  • @mrkaydev
    @mrkaydev 4 года назад

    Bruh , what's the font name ??

    • @mafiacodes
      @mafiacodes  4 года назад +1

      operator mono

    • @mrkaydev
      @mrkaydev 4 года назад +1

      @@mafiacodes Really thank you, your rply is way faster than my gradle sync time : )

  • @sunilkumarmaurya4562
    @sunilkumarmaurya4562 4 года назад

    Every thing is fine. Aap itna fast kyu bolte hai. Kuchh point samajh me he nahi aata

    • @mafiacodes
      @mafiacodes  4 года назад

      Next time will keep this thing in mind

  • @shreyasjoshi7796
    @shreyasjoshi7796 4 года назад +1

    I'm the 69th viewer!

  • @AtulGupta-jj7ek
    @AtulGupta-jj7ek 4 года назад +1

    Hey can you please make a tutorial on How we use Geofire and what's the purpose of using Geofire over other available options