Passive Views: keep your UI code simple and stupid part 2 | by Rygel Louv | Apr, 2022

We keep discussing some techniques to make our UI code clean, stupid, and simple. Let’s talk a bit more about UDF Minimal image by Samantha Gades on Unsplash This article was made in two parts. You can find part 1 here This article is not necessarily about the details of the Passive View pattern but … Read more

Android Touch System — Part 3: MotionEvent Listeners | by Sherry Yuan | Apr, 2022

Photo by Ilyuza Mingazova on Unsplash This is Part 3 of my Android Touch System series. Parts 1 and 2 take a deep dive into touch functions (onDispatchTouchEvent(), onInterceptTouchEvent(), onTouchEvent()) and how touch events flow through the view hierarchy. This post will cover the main event listeners provided by the View class, as well as … Read more