-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
82 changed files
with
2,978 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,25 +4,31 @@ | |
|
||
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. | ||
|
||
Some Sesame features are inspired by [RxPM](https://github.com/dmdevgo/RxPM) library. | ||
|
||
## Components | ||
[property](https://github.com/aartikov/Sesame/tree/master/sesame-property) - provides observable properties and one-time commands. | ||
[dialog](https://github.com/aartikov/Sesame/tree/master/sesame-dialog) - allows to control dialogs from View Models. | ||
[navigation](https://github.com/aartikov/Sesame/tree/master/sesame-navigation) - gives an universal way to navigate between screens. | ||
[activable](https://github.com/aartikov/Sesame/tree/master/sesame-activable) - equips View Models with a very simple lifecycle. | ||
[loading](https://github.com/aartikov/Sesame/tree/master/sesame-loading) - helps to manage state for data loading (including paged one). | ||
[loop](https://github.com/aartikov/Sesame/tree/master/sesame-loop) - provides a simple MVI implementation. | ||
[localized string](https://github.com/aartikov/Sesame/tree/master/sesame-localized-string) - helps to deal with string resources. | ||
[form](https://github.com/aartikov/Sesame/tree/master/sesame-form) - provides input field validation. | ||
|
||
Sesame components are independent. Use only that you like. | ||
Sesame components are separate modules. Use only that you like. | ||
|
||
## Gradle Setup | ||
```gradle | ||
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' | ||
implementation 'com.github.aartikov:sesame-property:1.0.0-alpha4' | ||
implementation 'com.github.aartikov:sesame-dialog:1.0.0-alpha4' | ||
implementation 'com.github.aartikov:sesame-navigation:1.0.0-alpha4' | ||
implementation 'com.github.aartikov:sesame-activable:1.0.0-alpha4' | ||
implementation 'com.github.aartikov:sesame-loading:1.0.0-alpha4' | ||
implementation 'com.github.aartikov:sesame-loop:1.0.0-alpha4' | ||
implementation 'com.github.aartikov:sesame-localized-string:1.0.0-alpha4' | ||
implementation 'com.github.aartikov:sesame-form:1.0.0-alpha4' | ||
} | ||
``` | ||
|
||
|
@@ -31,9 +37,10 @@ dependencies { | |
|
||
COUNTER - shows how to use properties and commands from [property](https://github.com/aartikov/Sesame/tree/master/sesame-property). | ||
PROFILE - loads ordinary data with [loading](https://github.com/aartikov/Sesame/tree/master/sesame-loading). | ||
DIALOGS - shows how to use [dialog](https://github.com/aartikov/Sesame/tree/master/sesame-dialog). | ||
MOVIES - loads paged data with [loading](https://github.com/aartikov/Sesame/tree/master/lsesame-oading). | ||
DIALOGS - shows how to use [dialog](https://github.com/aartikov/Sesame/tree/master/sesame-dialog) and [localized string](https://github.com/aartikov/Sesame/tree/master/sesame-localized-string). | ||
MOVIES - loads paged data with [loading](https://github.com/aartikov/Sesame/tree/master/sesame-loading). | ||
CLOCK - shows how to use [activable](https://github.com/aartikov/Sesame/tree/master/sesame-activable). | ||
FORM - validates input fields with [form](https://github.com/aartikov/Sesame/tree/master/sesame-form). | ||
The whole app - demonstrates [navigation](https://github.com/aartikov/Sesame/tree/master/sesame-navigation). | ||
|
||
There is no sample for [loop](https://github.com/aartikov/Sesame/tree/master/sesame-loop). See [LoadingLoop](https://github.com/aartikov/Sesame/blob/master/sesame-loading/src/main/kotlin/me/aartikov/sesame/loading/simple/internal/LoadingLoop.kt) and [PagedLoadingLoop](https://github.com/aartikov/Sesame/blob/master/sesame-loading/src/main/kotlin/me/aartikov/sesame/loading/paged/internal/PagedLoadingLoop.kt) as good examples how to use it. | ||
|
@@ -45,7 +52,7 @@ Artur Artikov <a href="mailto:[email protected]">[email protected]</a> | |
``` | ||
The MIT License (MIT) | ||
Copyright (c) 2021 Artur Artikov | ||
Copyright (c) 2021 Artur Artikov, Alexander Rovnov, Pavel Aleksandrov | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sample/src/main/kotlin/me/aartikov/sesamesample/dialogs/DialogResult.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package me.aartikov.sesamesample.dialogs | ||
|
||
enum class DialogResult { | ||
OK, CANCEL | ||
Ok, Cancel | ||
} |
Oops, something went wrong.