-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
// Пример вызова функции getExerciseListByTarget
lifecycleScope.launch {
val ex = getExerciseListByTarget("abs")
if (ex != null) {
for (e in ex) {
Log.d("HomeFragment", e.name + " " + e.target + " " + e.bodyPart + " " + e.gifUrl + " " + e.id)
}
}
}
// Пример вызова функции getExerciseById
lifecycleScope.launch {
val e = getExerciseById("0007")
if (e != null) {
Log.d("HomeFragment", e.name + " " + e.target + " " + e.bodyPart + " " + e.gifUrl + " " + e.id)
}
}
// Пример вызова функции getExerciseListByName
lifecycleScope.launch {
val ex = getExerciseListByName("alternate")
for (e in ex) {
Log.d("HomeFragment", e.name + " " + e.target + " " + e.bodyPart + " " + e.gifUrl + " " + e.id)
}
}
// Пример вызова функции getBodyPartExercises
lifecycleScope.launch {
val ex = getBodyPartExercises("back")
for (e in ex) {
Log.d("HomeFragment", e.name + " " + e.target + " " + e.bodyPart + " " + e.gifUrl + " " + e.id)
}
}
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation