In the previous 5 blog posts, we covered different aspects of building an Android app from scratch. We focused on including tests in the process. Here are the links to the previous posts: Post #1 – Why should we write tests? Post #2 – Set up your app for testing Post #3 – Creating API […]
Tag: android studio
Update – 24 May 2021: The solution described in this blog post is now outdated – yay! See the official solution from IntelliJ. This works in Android Studio Artic Fox and above – https://www.jetbrains.com/help/idea/templates-with-multiple-files.html For historical purposes – I’ve left the original post below. ————————– In the previous two posts, we looked at creating custom […]
What is ConstraintLayout? ConstraintLayout is a new type of layout that you can use in your Android App, it is compatible down to API level 9 and is part of the support library. Its aim is to reduce layout hierarchies (and improve performance of layouts) and it also reduces the complexity of trying to work […]
In the last post we looked at how to create a File Template in Android Studio. In this post we will look at Live Templates and how to make your own. Live templates are “frequently-used or custom code constructs that you can insert into your source code file quickly, efficiently and accurately.”
I have recently discovered something which is currently making my life easier at the moment: Custom file templates. What is a file template? A file template is a source file that already contains some code to get you started. In this example, we are going to look at creating a file template for a RecyclerView adapter implementation which is […]