aartikov / Sesame
Programming Languages
Projects that are alternatives of or similar to Sesame
Sesame
Sesame is a set of architecture components for Android development. It is based on modern technologies including coroutines and Flow. Sesame is simple to learn and easy to use. It is ideally suited for MVVM and MVI architectures.
Components
property - provides observable properties and one-time commands.
dialog - allows to control dialogs from View Models.
navigation - gives an universal way to navigate between screens.
activable - equips View Models with a very simple lifecycle.
loading - helps to manage state for data loading (including paged one).
loop - provides a simple MVI implementation.
Sesame components are independent. Use only that you like.
Gradle Setup
dependencies {
implementation 'com.github.aartikov:sesame-property:1.0.0-alpha3'
implementation 'com.github.aartikov:sesame-dialog:1.0.0-alpha3'
implementation 'com.github.aartikov:sesame-navigation:1.0.0-alpha3'
implementation 'com.github.aartikov:sesame-activable:1.0.0-alpha3'
implementation 'com.github.aartikov:sesame-loading:1.0.0-alpha3'
implementation 'com.github.aartikov:sesame-loop:1.0.0-alpha3'
}
Sample
The sample application consists of several screens. Each screen demonstrates certain Sesame feature.
COUNTER - shows how to use properties and commands from property.
PROFILE - loads ordinary data with loading.
DIALOGS - shows how to use dialog.
MOVIES - loads paged data with loading.
CLOCK - shows how to use activable.
The whole app - demonstrates navigation.
There is no sample for loop. See LoadingLoop and PagedLoadingLoop as good examples how to use it.
Contact the author
Artur Artikov [email protected]
License
The MIT License (MIT)
Copyright (c) 2021 Artur Artikov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.