Android ButterKnife library is a view injection library that injects views into android activity / fragments using annotations. For example, @BindView annotation avoids using findViewById() method by automatically type casting the view element.
Not just view binding, butterknife provides lot of other useful options like binding strings, dimens, drawables, click events and lot more. We’ll see brief about every component offered in this video.
Github:
Our telegram channel:
Laptop I use :
Macbook air 13 inch:
Microsoft Surface Pro :
Dell Inspiron:
Android mobile I use
Oneplus 7 pro:
Poco F1:
Samsung Galaxy A50:
Donation:
Our official Website:
If you like the video please do like, share, subscribe.
You can mail us at :
info@insideandroid.in
Instagram Handle:
Facebook Handle:
Follow us to watch more videos related to Android development, Thanks!
Tag: butterknife android tutorial, butterknife android studio, butterknife tutorial, butterknife, JakeWharton, JakeWharton butterknife tutorial, injection library, android studio tutorial
Xem thêm bài viết Công Nghệ khác: http://hôm.vn/category/cong-nghe
Nguồn: http://hôm.vn
Thankyou so much, this is very helpful for beginner like me
It is very easy in kotlin just add kotlin extension then call the textview directly by its name.
I like it good explanation of butter knife, but using dataBinding library in Android we can use the id of layout directly, can I know what's so special about butter knife any extra features compared to dataBinding library??
please try to show preview after completing project into emulator