Skip to content

Instantly share code, notes, and snippets.

@SumeraMartin
Created May 26, 2020 11:39
Show Gist options
  • Save SumeraMartin/38ab565bb6d2e590c2b7d0d8fbf10704 to your computer and use it in GitHub Desktop.
Save SumeraMartin/38ab565bb6d2e590c2b7d0d8fbf10704 to your computer and use it in GitHub Desktop.
val model = DonutModel(
cap = 8f,
masterProgress = 1f,
sections = listOf(
DonutSection(amount = 1f, color = Color.Cyan),
DonutSection(amount = 1f, color = Color.Red),
DonutSection(amount = 1f, color = Color.Green),
DonutSection(amount = 0f, color = Color.Blue)
)
)
DonutProgress(model = model)
@Developer1Dev
Copy link

Developer1Dev commented May 26, 2020

This is the first I see a Kotline file , If i am correct :
https://stackoverflow.com/questions/17508114/file-extension-kt-what-kind-of-file-is-this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment