Lazy Android

Add this URL to your Eclipse Installation to reach this solution's update site.

Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
Neon (4.6)
Oxygen (4.7)
Photon (4.8)
2018-09 (4.9)

Learn more...

Details Group Tabs

Wednesday, October 10, 2018 - 22:35
jvell's picture

Hi. Just came across this. (havnt been active lately) but this is a handy, quick/dirty way to generate code on the go...

How about adding support for event handlers per resid var generated, but in a more robust way.


which ever res is generated attach an option beside it so developer can select which event listener to attach to this res view.
(Optional) Present this option as a Dialog in Preview mode before code is generated

This way (while coding) we wont need to do this manually ourselves.

Another macro addition would serve for quicker code generation less extra time spent to attach the listener to the generated view.

mschmitzoad's picture


I'd like to install this one, but I am stuck with the error

Unable to read repository at [LazyAndroidUpdateSite].
[LazyAndroidUpdateSite] is not a valid repository location.

Best Regards,

rmattison's picture

Updated, nothing has changed --- can use on all eclipse versions & download again.

jbuser0qg's picture

I didn't actually install or try it but I did watch the demonstration video. I prefer to do most of my layouts programmatic-ally but I do occasionally use xml layouts. Not really often enough where something like this would be useful for me but it did make me think about it a bit. I think if you were able to alter it a bit so someone would right click on a layout and click generate activity and then have the standard create class / package dialog pop up it would be pretty handy. Basically it would be just like creating a new class, except after you picked the name/package you would end up with a new activity class preloaded with your variables / oncreate function / listeners for buttons / lists / etc... You could even have it generate custom view instances per each internal layout...

Anyway, it's a good start, I'll be keeping an eye on your progress...

rwinsauer's picture

Thanks for spending your time on this and sharing it with the community.

gmurfin's picture

Thanks for this amazing plugin, it removes a HUGE HUGE amount of tedium from android coding, good work Ive just saved myself tons of time!

tprochazka's picture

Great plugin! More like this.

I only would prefer call it directly from code, like quick action (like "Generate toString()") if cursor will be on layout reference or open dialog with layout search.

rmattison's picture

I just got back into it a little bit, but source is here if you have ideas to add.

rmattison's picture

Thanks a ton for the positive feedback by the way! I felt like I saved a chunk of people a fair amount of time, and you're the ONLY response or feedback I've had thus far! I've added a # of changes that impact development for rapid developers and help avoid repetitive injuries, I'm waiting for a few more comments or for people to check into the source control branch. I've had about 10 people rip it off and blog about it, 0 check in anything to the source control branch. Makes me feel like open source development is a joke.

rmattison's picture

Hey Tomas,

I'd love to do a lot more with it. Not as much time as I would like. The source code is open on my blog if you'd like to add more shortcuts to it, please check them in and i'll update the tool =).


Ryan Mattison