Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lombok for Android

I would love to get all the features lombok provides. I'm tired of writing lots of boilerplate code and I would like to know if there is a port of lombok on Android? Or at least an equivalent? Something that allows me to use an annotation instead of boilerplate like this:

TextView tv = (TextView) findViewById(R.id.my_textview);
like image 661
Igor Popov Avatar asked Dec 07 '22 17:12

Igor Popov


1 Answers

As far as I know you can use Lombok in Android code. If it doesn't, please file a bug report. I must say, we don't have a lot of documentation about how to set it up. That said, we have an active mailing list if you need help. Disclosure: I am one of the developers of Lombok.

like image 126
Roel Spilker Avatar answered Dec 30 '22 09:12

Roel Spilker