https://kotlinlang.org logo
c

Chetan Tuteja

02/25/2021, 5:12 PM
I wrote a Kotlin based library to help reduce the Boilerplate code for ViewBinding in Android to bare necessity, making it easy to use and wrote my first article explaining the same. Give it a read, if the topic interests you. Any feedback is welcome and appreciated. Thanks. Here is the link to the library.
a

Alejandro Rios

02/25/2021, 5:13 PM
#feed
c

Chetan Tuteja

02/25/2021, 5:29 PM
Yes. Thanks for pointing out. Posted there. My bad
o

Orhan Tozan

02/25/2021, 9:03 PM
Nice, but I prefer https://github.com/Zhuinden/fragmentviewbindingdelegate-kt because it has no inheritance and function overriding, plus really simple
👍🏼 1
c

Chetan Tuteja

02/26/2021, 4:10 AM
@Orhan Tozan I completely understand that. You make a valid point. It is just that where I work we have a lot of abstract implementations for various scenarios with various base methods. For example, we a MediaFragment which can be used if we need to pick an image or video and compress it and return its file. So that is where my mind went. Thanks for the feedback though.
5 Views