into a query parameter (what I can think of atm was map):
Copy code
mapOf(
"category_id" to "asdf",
"employment_type" to "FULLTIME"
)
my code attempts in ๐งต
miqbaldc
11/18/2021, 8:43 AM
Copy code
val queries = "<deeplink scheme>://jobs?category_id=asdf&employment_type=FULLTIME"
.substringAfter("?")
// categorize it into list
.split("&")
.associate {
// "category_id" to "asdf"
it.substringBefore("=") to it.substringAfter("=")
}