This library provides an annotation to auto-generate a Kotlin DSL for `sealed` classes to make working with them more concise. You can find more in https://hadilq.com/posts/happy-railway/
-
Updated
May 18, 2022 - Kotlin
This library provides an annotation to auto-generate a Kotlin DSL for `sealed` classes to make working with them more concise. You can find more in https://hadilq.com/posts/happy-railway/
Example of Clean code architecture with MVVM retrofit api call in simpler way.
📚 Java language basics
An example of Music management app with Clean Architecture, Using Single Activity, Stateflow, Flow, Sealed interface & Sealed Class, BaseFragment, BaseListAdapter, and MVVM.
Algebraic Result type in Java 15+, return type for oprations that can fail
News Application based on Kotlin language, we use MVVM pattern with DI. impl sealed pattern and live-data
Why & When Sealed Keyword could lead to a performance boost in .NET C#
Weather App using open Weather Api, we can see current temperature and 4 days forecast
streamlines permission request / grant mechanism and, notifies employees whether their request has been approved or not through mail / sms
Simplified polymorphic de/serialization of Java 17 sealed classes for Jackson
Build with Jetpack Compose & all modern techniques and architecture of android app development
An Android application implemented using the MVVM pattern, Clean Architecture, Retrofit2, Dagger Hilt, LiveData, Flow, ViewModel, Coroutines, Room, Data Binding.
Find 10th char, repeated words and etc
让 Java 1.8 也能像 Kotlin 一样使用 Sealed Class。Make Java 1.8 use Sealed Class like Kotlin
Sealed classes are useful in scenarios where you have a restricted set of possible values or states for a type, and you want to ensure that all possible values or states are accounted for in your code.
Handling Api State with Sealed Class and Generics
Add a description, image, and links to the sealed-class topic page so that developers can more easily learn about it.
To associate your repository with the sealed-class topic, visit your repo's landing page and select "manage topics."