Hello,
I use xCLV expandable items. When i click an item there is a possibility(random number) to show an advertisement. If ad shown, at log says this
and item does not collapse or expand, it stucks.
if i comment out this line at CLVExpandable Class:
it works fine even if shows an ad, but animation is really bad.
Code at my app is this:
I tried callsubdelayd calling intAder but with no luck. Any ideas?
Thank you for your time.
I use xCLV expandable items. When i click an item there is a possibility(random number) to show an advertisement. If ad shown, at log says this
B4X:
Sleep not resumed (context is paused): anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub
Sleep not resumed (context is paused): b4a.example3.customlistview$ResumableSub_PanelClickHandler
if i comment out this line at CLVExpandable Class:
B4X:
'Sleep(mCLV.AnimationDuration)
Code at my app is this:
B4X:
Sub clvSaved_ItemClick (Index As Int, Value As Object)
expandable.ToggleItem(Index)
intAder
End Sub
B4X:
Sub intAder
Dim random As Int
random=Rnd(0,28)
Log(random)
If random=21 Then
If IAd.Ready Then
IAd.Show
End If
End If
End Sub
I tried callsubdelayd calling intAder but with no luck. Any ideas?
Thank you for your time.