-
Notifications
You must be signed in to change notification settings - Fork 24
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
1 parent
363804b
commit 7ab0281
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
11 changes: 10 additions & 1 deletion
11
...jetpack_compose_all_in_one/demos/currency_converter/presentation/intent/CurrencyIntent.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,14 @@ | ||
package com.example.jetpack_compose_all_in_one.demos.currency_converter.presentation.intent | ||
|
||
/** | ||
* Sealed class representing intents related to currency operations. | ||
*/ | ||
sealed class CurrencyIntent { | ||
|
||
/** | ||
* Intent representing a change in the input currency value. | ||
* | ||
* @property input The new input currency value. | ||
*/ | ||
data class CurrencyInputChanged(val input: String): CurrencyIntent() | ||
} | ||
} |
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