Android Question JSListview with other objects

Kiran Raotole

Active Member
Licensed User
My activity contain jslistview with edittext
Without edittext it works fine.

with edittext its showing error log :
main_adapter_onbindview (java line: 382)
java.lang.ClassCastException: anywheresoftware.b4a.BALayout cannot be cast to android.widget.TextView
at b4a.example.main._adapter_onbindview(main.java:382)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:191)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:171)
at com.salvadorjhai.data.JSCursorAdapter.getView(JSCursorAdapter.java:138)
at android.widget.AbsListView.obtainView(AbsListView.java:2388)
at android.widget.ListView.makeAndAddView(ListView.java:2052)
at android.widget.ListView.fillDown(ListView.java:786)
at android.widget.ListView.fillFromTop(ListView.java:847)
at android.widget.ListView.layoutChildren(ListView.java:1826)
at android.widget.AbsListView.onLayout(AbsListView.java:2187)
at android.view.View.layout(View.java:19663)
at android.view.ViewGroup.layout(ViewGroup.java:6075)
at anywheresoftware.b4a.BALayout.onLayout(BALayout.java:43)
at android.view.View.layout(View.java:19663)
at android.view.ViewGroup.layout(ViewGroup.java:6075)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at android.view.View.layout(View.java:19663)
at android.view.ViewGroup.layout(ViewGroup.java:6075)
at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:498)
 

Attachments

Top