You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a list view i with parent and childs . In isGroupSwipeable i have added a condition it check if it's true then it make it swipeable if not it makes it false. At first it is working fine .But when i scroll through the list from bottom to top . Then those groups become swipeable . But the crazy part about is that when i check isGroupSwipeable for that specific group position, it is returning me false and group is swiping
val checkForSwipe = adapter?.isGroupSwipable(groupPostion)
override fun isGroupSwipable(p0: Int): Boolean {
var rem = debt.installments[p0].remainingAmount()
if (rem > 0){
return true
}
else{
return false
}
}
The text was updated successfully, but these errors were encountered:
I have a list view i with parent and childs . In isGroupSwipeable i have added a condition it check if it's true then it make it swipeable if not it makes it false. At first it is working fine .But when i scroll through the list from bottom to top . Then those groups become swipeable . But the crazy part about is that when i check isGroupSwipeable for that specific group position, it is returning me false and group is swiping
val checkForSwipe = adapter?.isGroupSwipable(groupPostion)
override fun isGroupSwipable(p0: Int): Boolean {
var rem = debt.installments[p0].remainingAmount()
if (rem > 0){
return true
}
else{
return false
}
The text was updated successfully, but these errors were encountered: