Fragmentation icon indicating copy to clipboard operation
Fragmentation copied to clipboard

A powerful library that manage Fragment for Android

Results 31 Fragmentation issues
Sort by recently updated
recently updated
newest added

java.lang.ClassCastException: android.view.View cannot be cast to android.view.ViewGroup 线上报的错,问题应该是出在这一段代码里。然后出问题的Activity是一个简单的页面,没有额外添加View。设备也很统一,90%都是三星的手机 ![image](https://github.com/JantHsueh/Fragmentation/assets/73380828/681ef848-07f3-4ec1-b555-691677174e33) * Library version "fragmentationx" : 'me.yokeyword:fragmentationx:1.0.2', "fragmentationx-swipeback" : 'me.yokeyword:fragmentationx-swipeback:1.0.2', * Support-v4 version * Logs 11-27 16:40:10.115 15671 15671 E AndroidRuntime: java.lang.ClassCastException:...

我看了一下原作者的代码 ``` private void enqueueDispatchVisible() { taskDispatchSupportVisible = new Runnable() { @Override public void run() { taskDispatchSupportVisible = null; dispatchSupportVisible(true); } }; getHandler().post(taskDispatchSupportVisible); } ``` 这里是直接post了一条任务 你的这个方法是这样的 ``` private void...

# Issues Guideline APP分布(结构): MainFragment |----Fragment1 ----|----(child)(Fragment1+Fragment2+Fragment3) |----Fragment2 ----|----(child)Fragment |----Fragment3 ----|----Fragment --------|----(child) Fragment1 + Fragment2 ----|----Fragment 点击回退键,上一个Fragment卡半屏幕。 # 图片 [https://github.com/AdrianAndroid/Fragmentation/blob/learn/WechatIMG15.jpeg](https://github.com/AdrianAndroid/Fragmentation/blob/learn/WechatIMG15.jpeg)

需要弹出多个Fragment时,调用popTo崩溃,提示Fragment ... has not been attached yet. 不知道是否是这个原因:https://github.com/YoKeyword/Fragmentation/issues/1265 Following information can help us to resolve the issue faster. * Library version * Support-v4 version * Logs * Screenshots **In addition,...

Caused by java.lang.NullPointerException Attempt to invoke virtual method 'int me.yokeyword.fragmentation.anim.FragmentAnimator.getEnter()' on a null object reference me.yokeyword.fragmentation.helper.internal.AnimatorHelper.initEnterAnim me.yokeyword.fragmentation.helper.internal.AnimatorHelper.initEnterAnim (AnimatorHelper.java:63) me.yokeyword.fragmentation.helper.internal.AnimatorHelper.notifyChanged (AnimatorHelper.java:29) me.yokeyword.fragmentation.helper.internal.AnimatorHelper. (AnimatorHelper.java:24) me.yokeyword.fragmentation.SupportFragmentDelegate.onCreate (SupportFragmentDelegate.java:119) me.yokeyword.fragmentation.SupportFragment.onCreate (SupportFragment.java:49)

java.lang.NullPointerException: Attempt to invoke virtual method 'int me.yokeyword.fragmentation.anim.FragmentAnimator.getEnter()' on a null object reference

请问下,我通过继承的方式,但是运行项目就回报错找不到类文件,请问该怎么修改

# Issues Guideline Following information can help us to resolve the issue faster. * Library version * Support-v4 version * Logs * Screenshots **In addition, we do not accept issues...