mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 05:37:02 +05:30
common: add common stringValue api
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
This commit is contained in:
parent
4a40192647
commit
01ffc49e18
6 changed files with 83 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
package dev.msfjarvis.lobsters.utils
|
||||
|
||||
enum class StringEnum {
|
||||
AddToSavedPosts,
|
||||
AppName,
|
||||
AvatarContentDescription,
|
||||
HottestPosts,
|
||||
Loading,
|
||||
NoSavedPost,
|
||||
OpenComments,
|
||||
RefreshPostsContentDescription,
|
||||
RemoveFromSavedPosts,
|
||||
SubmittedBy,
|
||||
;
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
package dev.msfjarvis.lobsters.utils
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
|
||||
@Composable
|
||||
expect fun stringValue(enum: StringEnum, vararg formatArgs: Any): String
|
Loading…
Add table
Add a link
Reference in a new issue