triniwiz / nativescript-accordion

Apache License 2.0
38 stars 14 forks source link

On tap throws java casting error #77

Open KirilOkun opened 5 years ago

KirilOkun commented 5 years ago

Make sure to check the demo app(s) for sample usage

Make sure to check the existing issues in this repository

If the demo apps cannot help and there is no issue for your problem, tell us about it

Please, ensure your title is less than 63 characters long and starts with a capital letter.

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

Click on any accordion item title throws the error below. Accordion panel does not expand.

JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode.
JS: null
System.err: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
System.err:     at com.tns.gen.android.widget.BaseExpandableListAdapter_vendor_112286_28_AccordionListAdapter.getChildrenCount(BaseExpandableListAdapter_vendor_112286_28_AccordionListAdapter.java:24)
System.err:     at android.widget.ExpandableListConnector.refreshExpGroupMetadataList(ExpandableListConnector.java:563)
System.err:     at android.widget.ExpandableListConnector.expandGroup(ExpandableListConnector.java:688)
System.err:     at android.widget.ExpandableListView.handleItemClick(ExpandableListView.java:693)
System.err:     at android.widget.ExpandableListView.performItemClick(ExpandableListView.java:653)
System.err:     at android.widget.AbsListView$PerformClick.run(AbsListView.java:3136)
System.err:     at android.widget.AbsListView.onTouchUp(AbsListView.java:4064)
System.err:     at android.widget.AbsListView.onTouchEvent(AbsListView.java:3822)
System.err:     at android.view.View.dispatchTouchEvent(View.java:12513)

Is there any code involved?