-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from osik2000/11-add-clip-screen
11 add clip screen
- Loading branch information
Showing
17 changed files
with
494 additions
and
349 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
9 changes: 8 additions & 1 deletion
9
app/src/main/kotlin/pl/pawelosinski/skatefreak/model/TrickInfo.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,10 +1,17 @@ | ||
package pl.pawelosinski.skatefreak.model | ||
|
||
import androidx.compose.runtime.MutableState | ||
import androidx.compose.runtime.mutableStateOf | ||
|
||
data class TrickInfo ( | ||
val id: String = "", | ||
val name: String = "", | ||
val description: String = "", | ||
val difficulty: String = "", | ||
val category: String = "", | ||
val photoUrl: String = "", | ||
) | ||
) { | ||
companion object { | ||
var chosenOne = mutableStateOf(TrickInfo()) | ||
} | ||
} |
14 changes: 11 additions & 3 deletions
14
app/src/main/kotlin/pl/pawelosinski/skatefreak/model/TrickRecord.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,12 +1,20 @@ | ||
package pl.pawelosinski.skatefreak.model | ||
|
||
import androidx.compose.runtime.mutableStateOf | ||
|
||
data class TrickRecord( | ||
val id: String = "", | ||
var id: String = "", | ||
val userID: String = "", | ||
val trickID: String = "", | ||
val date: String = "", | ||
val title: String = "", | ||
val userDescription: String = "", | ||
val videoUrl: String = "", | ||
var videoUrl: String = "", | ||
val usersWhoSetAsFavorite: MutableList<String> = mutableListOf(), | ||
) | ||
) { | ||
companion object { | ||
val trimmedVideoPath = mutableStateOf("") | ||
var localFileUri = mutableStateOf("") | ||
} | ||
} | ||
|
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
Oops, something went wrong.