Bug? CustomListView Expandable & PreoptimizedCLV

Status
Not open for further replies.

N. Franz

Member
Good morning.
In my new project I want to implement lazy load extension for xCustomListView (PreoptimizedCLV), and for the need, I want it to be an expandable list. in my attempt I get error:


I would like to know where my mistake is.


customlistview_insertatimpl (java line: 645)
java.lang.IllegalArgumentException: Cannot set 'scaleX' to Float.NaN
at android.view.View.sanitizeFloatPropertyValue(View.java:15568)
at android.view.View.sanitizeFloatPropertyValue(View.java:15542)
at android.view.View.setScaleX(View.java:14931)
at android.animation.PropertyValuesHolder.nCallFloatMethod(Native Method)
at android.animation.PropertyValuesHolder.access$400(PropertyValuesHolder.java:38)
at android.animation.PropertyValuesHolder$FloatPropertyValuesHolder.setAnimatedValue(PropertyValuesHolder.java:1387)
at android.animation.ObjectAnimator.animateValue(ObjectAnimator.java:990)
at android.animation.ValueAnimator.setCurrentFraction(ValueAnimator.java:674)
at android.animation.ValueAnimator.setCurrentPlayTime(ValueAnimator.java:637)
at android.animation.ValueAnimator.start(ValueAnimator.java:1069)
at android.animation.ValueAnimator.start(ValueAnimator.java:1088)
at android.animation.ObjectAnimator.start(ObjectAnimator.java:852)
at android.animation.ValueAnimator.startWithoutPulsing(ValueAnimator.java:1081)
at android.animation.AnimatorSet.handleAnimationEvents(AnimatorSet.java:1142)
at android.animation.AnimatorSet.startAnimation(AnimatorSet.java:1227)
at android.animation.AnimatorSet.start(AnimatorSet.java:729)
at android.animation.AnimatorSet.start(AnimatorSet.java:684)
at anywheresoftware.b4a.objects.B4XViewWrapper.SetLayoutAnimated(B4XViewWrapper.java:177)
at b4a.example3.customlistview._insertatimpl(customlistview.java:645)
at b4a.example3.customlistview._replaceat(customlistview.java:917)
at b4a.example3.customlistview._resizeitem(customlistview.java:948)
at b4a.example3.clvexpandable$ResumableSub_ResizeItem.resume(clvexpandable.java:278)
at b4a.example3.clvexpandable._resizeitem(clvexpandable.java:152)
at b4a.example3.clvexpandable._collapseitem(clvexpandable.java:81)
at b4a.example3.clvexpandable._toggleitem(clvexpandable.java:327)
at b4a.example3.main._clv1_itemclick(main.java:391)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:1082)
at anywheresoftware.b4a.keywords.Common.CallSubNew3(Common.java:1045)
at b4a.example3.customlistview$ResumableSub_PanelClickHandler.resume(customlistview.java:805)
at b4a.example3.customlistview._panelclickhandler(customlistview.java:748)
at b4a.example3.customlistview._panel_click(customlistview.java:735)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6648)
at android.view.View.performClickInternal(View.java:6620)
at android.view.View.access$3100(View.java:787)
at android.view.View$PerformClick.run(View.java:26167)
at android.os.Handler.handleCallback(Handler.java:891)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:7539)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)

 

Attachments

  • 1.zip
    11.5 KB · Views: 249
Status
Not open for further replies.
Top