Instrumentation Tests and Localized Screenshots
Dec 12, 2015
Testing is important, and you should be testing.
Testing on Android is still a big issue. Whether you feel that your app isn’t big or popular enough, or just don’t know how to start, there are many reasons why you won’t get involved with tests. But I find that writing testable code (and actual tests) can lead to far better, scalable, and maintainable software.
Animations and Decorations
Nov 18, 2015
Just a quick update to my last post on a little thing I missed out: Animations.
Using RecyclerView with ItemDecorations - A Basic Separator Sample
Nov 10, 2015
tl;dr You can find the sample on GitHub.
I’ve seen many people come up with complicated and bloated solutions to problems that can actually be solved with decorations quite easily. Generally speaking, by using decorations you can, without modifying any code in your adapter
- add a Header / Footer View
- add margins and separators
- set backgrounds
- and more.
Easily added and reused with one line of code.