Skip to content

Instantly share code, notes, and snippets.

@AndreVero
Created February 24, 2024 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreVero/b10697b6a7fc27ccfe1992f9fd315983 to your computer and use it in GitHub Desktop.
Save AndreVero/b10697b6a7fc27ccfe1992f9fd315983 to your computer and use it in GitHub Desktop.
Path string to path object conversion
val defaultPath = PathParser().parsePathString(getString(R.string.default_path))
.toPath()
GlovoLikeAnimation(
onGoalClick = {},
mainItem = GlovoItem("Main", defaultPath),
items = listOf(
GlovoItem("Secondary 1", defaultPath),
GlovoItem("Secondary 2", defaultPath),
GlovoItem("Secondary 3", defaultPath),
GlovoItem("Secondary 4", defaultPath),
GlovoItem("Secondary 5", defaultPath),
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment