-
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
Zhirkevich Alexander Y
authored and
Zhirkevich Alexander Y
committed
Jul 23, 2024
1 parent
c24dbd8
commit 1199cb2
Showing
10 changed files
with
943 additions
and
7 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
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
22 changes: 22 additions & 0 deletions
22
example/shared/src/commonMain/kotlin/lottiefiles/LottieFile.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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package lottiefiles | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
internal class LottieFile( | ||
val id : String, | ||
val name : String? = null, | ||
val tags : List<String> = emptyList(), | ||
val lottieSource : String? = null, | ||
val jsonSource : String? = null, | ||
// val imageSource : String = "", | ||
val bgColor : String? = null, | ||
val downloadCount : Int = 0, | ||
val user : User = User() | ||
) | ||
|
||
@Serializable | ||
internal class User( | ||
val name : String? = null, | ||
val avatarUrl : String? = null | ||
) |
Oops, something went wrong.