Android is the most popular mobile operating system now with more than 76% market share. This has, in part, been possible due to its open nature and the multiple vendors which ship Android on their devices. But it also has huge problems in terms of fragmentation. For e.g Android Oreo was released in August 2017 and iOS 11 was released in September 2017, Oreo has 14.2% market adoption and iOS 11 has 85% even though Oreo had a headstart. To get to 85% adoption, you need to target Android Kitkat which was released in Oct 2013. Though this is only the tip of the iceberg.
Google Material Design introduced elevation as one of the main tools to emphasise hierarchy in the UI. It’s a natural and intuitively understood concept by both users and developers. Things that drop shadows are higher up in the UI hierarchy.
It doesn’t matter if you’re working on a side hustle or if you’re a junior developer wanting to get noticed and promoted. It doesn’t matter if you’re a lead developer looking for a change of pace, from a corporate gig to a start-up or the other way around. It doesn’t matter if you’re jobless out of college. As long as you’re a programmer, no skill is more important to your success than focused, deep work.
Kotlin 1.2.70 was just released. If you’ve upgraded to it, you might have noticed some new IntelliJ warnings telling you that “Call chain on collection should be converted into ‘Sequence’”. Applying the suggestion adds a couple of extra function calls to the call chain. Is this extra code useful?
In this tutorial, we will understand the Android Looper, Handler, and HandlerThread by Examples. The fastest way to learn anything is to build one. We have created a step by step video tutorials to learn Android Looper, Handler, and HandlerThread in the easiest way. Let’s quickly start watching the video tutorials, start implementing and learning.
Before diving into the process of creating a custom view, It would be worth stating why we may need to create custom views. Create something that cannot be done by ordinary views. A lot of times we tend to add multiple views or constraints to create the desired view that can be optimized drastically in terms of draw, measure or layout time. The best way to start would be to understand how android manages view groups and lays out views on the screen. Let us take a look...
Testing is an important part of software development. By including tests with your code, you can ensure that your code additions work and that later changes don’t break them. They can give you the peace of mind to develop quickly and catch bugs before they’re released.