DEV Community

Discussion on: How to use Android Studio File Templates to speed up development.

Collapse
 
mahendranv profile image
Mahendran

Nice article. Most of the time I endup creating a lot of boilerplate when using recyclerview.

Also I avoid using fragment's template since it includes some arguments that I just delete on first encounter.

May be it's time to edit the templates.

Collapse
 
wilderminds profile image
Samuel Agbesinyale

Thank you 🙏

In the link I included at the bottom of the article, there's an example of a recyclerview adapter template, so you don't have to manually deal with all the boilerplate.

...and yeah, I also end up deleting a bunch of the code when I create a regular fragment.

So editing or creating one that works for you is a great idea!