Tips and Tricks
Android Studio/IntelliJ Idea side by side working setup
The way I prefer to work when I use Android Studio or IntelliJ Idea is splitting the production code and the related tests side-by-side. In this article I’d like to describe the setup and the shortcuts I use, so someone might find it useful as well.
The side-by-side setup (vertical editor splitting) Side by side editor
We aim to use keyboard shortcuts for fast split and navigation instead of using mouse/trackpad.
Tips and Tricks
Add custom live templates in Android Studio
What is a custom live template In Android Studio, there is a concept of inserting a block of any textual content as a template wherever it is required, just by typing a keyword. By using live templates, we can insert frequently-used constructions into our code.
How is this going to be helpful? Live templates are super handy to boost our speed while writing code. Overtime we use the same or similar constructions in our code like loops, conditions, declarations and even whole class templates (think of for example RecyclerView.