Skip to content

Instantly share code, notes, and snippets.

View vighnesh153's full-sized avatar
Pika-Pi

Vighnesh Raut vighnesh153

Pika-Pi
View GitHub Profile
package vighnesh153.androidx.exo_player_prototype
import androidx.compose.runtime.Composable
import com.google.android.exoplayer2.ExoPlayer
interface Subtitle {
val languageString: String;
// val languageCode: String;
}
data class MovieImage(val url: String, val aspect: String)
data class Movie(val name: String, val images: List<MovieImage>, val root: String)
data class MovieCollection(val label: String, val items: List<Movie>)
val Movie.description: String
get() = "When the menace known as the Joker wreaks havoc and chaos on the people of Gotham..."
val movieCollections = listOf(
MovieCollection(
label = "Popular movies and shows", items = listOf(
class LinkedInQueensGame {
val initialGrid = listOf(
mutableListOf(0, 0, 0, 0, 0, 0, 0, 0, 1),
mutableListOf(0, 0, 2, 2, 0, 0, 1, 1, 1),
mutableListOf(0, 3, 3, 2, 0, 4, 4, 4, 0),
mutableListOf(0, 0, 3, 2, 0, 0, 0, 4, 0),
mutableListOf(0, 0, 3, 0, 0, 0, 0, 0, 0),
mutableListOf(0, 0, 0, 0, 0, 6, 0, 0, 5),
mutableListOf(0, 7, 7, 7, 0, 6, 5, 5, 5),
mutableListOf(8, 7, 0, 0, 0, 6, 6, 0, 0),