i noticed the the content filter event is raised when you scroll to the top or to the buttom of the ulv.
why is it like this?
this always gives me an error.
when i hide a view in a panel and then it gets out of the visibility and then when it returns i get an error.
the thing is that when i dont hide that view with Visible = False i dont get any errors.
also if i have not to much item where all items are visible i also dont get an error.
can i disable the call when i scroll to the top/bottom of the ulv?
why is it like this?
this always gives me an error.
when i hide a view in a panel and then it gets out of the visibility and then when it returns i get an error.
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Selected date is: 06/2017
01/06/2017
salmas1: 0
salmas2: 154.56
currentMonth 0
Panel size is unknown. Layout may not be loaded correctly.
** Activity (main) Resume **
Error occurred on line: 1246 (Main)
java.lang.ClassCastException: anywheresoftware.b4a.BALayout cannot be cast to android.widget.TextView
at anywheresoftware.b4a.objects.TextViewWrapper.setText(TextViewWrapper.java:38)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:710)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:339)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:170)
at flm.b4a.ultimatelistview.b.getView(SourceFile:631)
at android.widget.AbsListView.obtainView(AbsListView.java:2929)
at android.widget.ListView.makeAndAddView(ListView.java:1945)
at android.widget.ListView.fillDown(ListView.java:719)
at android.widget.ListView.correctTooLow(ListView.java:1509)
at android.widget.ListView.fillGap(ListView.java:693)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:7293)
at android.widget.AbsListView.scrollIfNeeded(AbsListView.java:4391)
at android.widget.AbsListView.onTouchMove(AbsListView.java:5782)
at android.widget.AbsListView.onTouchEvent(AbsListView.java:5610)
at flm.b4a.ultimatelistview.UltimateListView.onTouchEvent(SourceFile:346)
at android.view.View.dispatchTouchEvent(View.java:9993)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2828)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2499)
at android.widget.AbsListView.dispatchTouchEvent(AbsListView.java:5547)
at flm.b4a.ultimatelistview.UltimateListView.dispatchTouchEvent(SourceFile:517)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2839)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2514)
at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2831)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1863)
at android.app.Activity.dispatchTouchEvent(Activity.java:3046)
at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2792)
at android.view.View.dispatchPointerEvent(View.java:10228)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5344)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5180)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4620)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4673)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:46
Message longer than Log limit (4000). Message was truncated.
the thing is that when i dont hide that view with Visible = False i dont get any errors.
also if i have not to much item where all items are visible i also dont get an error.
can i disable the call when i scroll to the top/bottom of the ulv?