Or just get it wrong sometimes? Try this out! Go into a method in any file,
type "Toast" and hit tab. This should autocomplete to:



*Toast.makeText(BrowserApp.this, "", Toast.LENGTH_SHORT).show();*
And you can tab through to fill in the remaining values – no more creating
toasts and forgetting to call show!

This feature is called Live Templates (and you can create custom ones) –
read more:

https://medium.com/google-developers/writing-more-code-by-writing-less-code-with-android-studio-live-templates-244f648d17c7#.bh7fenqxy
- Mike
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to