undraw.co
undraw.co
undraw.co

Whenever we as Android developers see a perfect and complicated design that a professional designer has implemented, we say: “What the hell? how can we implement this difficult masterpiece?”. In this article, we are going to describe a way to implement the most challenging designs. If you prefer to use PNG and SVG instead of custom view and increase your APK size, skip this article :).


wallpapertip.com

Have you thought about Kotlin equivalents in Java? In this article, we will decompile the most common Kotlin features to Java and check their comparisons. Also, this article is going to be a cheat sheet for interviewees :). So let's check all of them.

Update: Sealed class, Data class, Object, suspend functions are added.

Versions

Class

By default, classes and functions in Kotlin are final. So, you can’t extend classeswithout an open modifier behind them.

Nested classes without an inner modifier are static. Here, the Programmer class is final and static. For the Gamer class, the inner modifier has been used…


Photo by Elia Pellegrini on Unsplash

In this article, I’ve tried to explain about TouchEvent and describe what happens when the user touches the screen. Always, some questions occur to us while we are trying to implement custom views, “Which one of them I should use? onTouchEvent or onInterceptTouchEvent? What's the difference between them?” 🤔

To gain the answer, come with me 🙃.

The Cycle Of Touch:

Hamed Rahimvand

Software engineer. I love learning, teaching, and coding. Android Developer at Round Table Apps

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store