curtains
workflow-kotlin
curtains | workflow-kotlin | |
---|---|---|
2 | 9 | |
593 | 990 | |
0.8% | 1.9% | |
4.5 | 9.1 | |
4 months ago | 5 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
curtains
-
25 Best Android Libraries, Projects, and Tools You Wonβt Want to Miss Out in 2021
The library has great documentation, examples, samples, and FAQ. It is developed under Apache License, Version 2.0, and currently has a 1.2.1 version, so it is ready for production projects.
-
Tap Response Time: Jetpack Navigation πΊ
We leverage square/curtains to intercept touch events. We define TapTracker, a touch event interceptor. TapTracker stores the time of the last MotionEvent.ACTION_UP touch event. When the posted click listener triggers, we retrieve the time of the up event that triggered it by calling TapTracker.currentTap:
workflow-kotlin
-
Flow or RxJava
For example square has open sourced workflow https://github.com/square/workflow-kotlin (MVI + plugin based architecture), if you look other examples like molecule they use Presenters (not the MVP ones) which is completly different. The only common thing is that they are both UDF.
-
What libraries would you use if you were starting a new project?
workflow. Quite a shift in how you write an app, but enough extension points that it's not that much of an issue, and it's really pleasant to use.
-
Single Activity architecture with custom views. Common pattern or anti-pattern?
I don't know how common/popular it actually is, but it's definitely not uncommon. Square has been doing this kind of home-made navigation for quite a while as far as I know (most recently in the form of workflow-kotlin), Lyft (Scoop) as well, and more (e.g. Conductor).
- Released workflow v1.0.0
-
Tap Response Time: Jetpack Navigation πΊ
We'll focus on Jetpack Navigation here, however most of the content applies for any navigation library or tap action. In fact, I first implemented this at Square on top of Flow and Workflow.
-
Why is there nothing like Redux, Vuex, MobX, etc... for Android?
There's kotlin workflow by square https://github.com/square/workflow-kotlin
What are some alternatives?
Retrofit - A type-safe HTTP client for Android and the JVM
mobius - A functional reactive framework for managing state evolution and side-effects.
kmm-production-sample - This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.
Flow - Name UI states, navigate between them, remember where you've been.
Expenso - π A Minimal Expense Tracker App built to demonstrate the use of modern android architecture component with MVVM Architecture
architecture-components-samples - Samples for Android Architecture Components.
RoundedProgressBar - A customizable, animated progress bar that features rounded corners. This Android library is designed to look great and be simple to use π
MVICore - MVI framework with events, time-travel, and more
leakcanary - A memory leak detection library for Android.
orbit-mvi - A simple MVI framework for Kotlin Multiplatform and Android
MixAnimationsMotionLayout - En este repo encontraras multiples ejemplos de animaciones con #MotionLayout
mobx - Kotlin MobX implementation