-
Notifications
You must be signed in to change notification settings - Fork 8
Explain your code. #1
Copy link
Copy link
Open
Description
What is this vars means ?
private var isLessType = false
private var smallDistance = 0
private var mediumDistance = 0
private var bigDistance = 0
What is this the logic ?
` private fun getSmallDistanceRatio(): Float {
return if (isLessType) {
25f
} else {
100f //stack begin
}
}
private fun getMediumDistanceRatio(): Float {
return if (isLessType) {
6f
} else {
3f // stack size scale
}
}
private fun getBigDistanceRatio(): Float {
return if (isLessType) {
2f
} else {
1f // stack end
}
}
`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels