https://www.b4x.com/android/forum/t...wipe-actions-and-pull-to-refresh.98252/page-2
Hi, I downloaded the b4i sample from the above link. I'm face problem if customlistview doesnt cover full page . I realise there is a mistake in the below coding, the position for Base.Top and Base.Left has been wrongly place.
Hi, I downloaded the b4i sample from the above link. I'm face problem if customlistview doesnt cover full page . I realise there is a mistake in the below coding, the position for Base.Top and Base.Left has been wrongly place.
B4X:
Public Sub Resize(Width As Int, Height As Int)
CloseLastSwiped
ActionsPanel.Width = Width
Base.SetLayoutAnimated(0, Base.Top, Base.Left, Width, Height)
If mPullToRefreshPanel.IsInitialized Then
mPullToRefreshPanel.SetLayoutAnimated(0, 0, 0, Width, mPullToRefreshPanel.Height)
End If
End Sub