I have a weird bug with ViewGroup. For my main view, I use classes in these links. ViewFlow Project
java.lang.IllegalArgumentException: parameter must be a descendant of this view at android.view.ViewGroup.offsetRectBetweenParentAndChild(ViewGroup.java:4153) at android.view.ViewGroup.offsetDescendantRectToMyCoords(ViewGroup.java:4090) at android.view.ViewRootImpl.scrollToRectOrFocus(ViewRootImpl.java:2129) at android.view.ViewRootImpl.draw(ViewRootImpl.java:1849) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1641) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2449) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method)
This error occurs when I try to return to this view using Intent or finish (); method in a different view. When I use the back button, this is not a problem.
So I donβt know why I have this error. Thank you for your help.
source share