Comments (6)
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent" /> 这个视图换成其他的就报错
这个是demo的代码,关联SampleActivity,替换这个布局也需要修改SampleActivity代码。具体crash贴一下log。
from panelswitchhelper.
07-08 15:32:46.846 19696-19696/com.example.demo D/Error: ERR: stack=java.lang.StackOverflowError: stack size 8MB
at com.effective.android.panel.PanelSwitchHelper.access$600(PanelSwitchHelper.java:34)
at com.effective.android.panel.PanelSwitchHelper$2.onFocusChange(PanelSwitchHelper.java:115)
at android.view.View.onFocusChanged(View.java:6271)
at android.widget.TextView.onFocusChanged(TextView.java:9555)
at android.widget.EditText.onFocusChanged(EditText.java:212)
at android.view.View.clearFocusInternal(View.java:6141)
at android.view.View.clearFocus(View.java:6121)
at com.effective.android.panel.view.ContentContainer.clearFocusByEditText(ContentContainer.java:118)
at com.effective.android.panel.PanelSwitchHelper$2.onFocusChange(PanelSwitchHelper.java:110)
at android.view.View.onFocusChanged(View.java:6271)
at android.widget.TextView.onFocusChanged(TextView.java:9555)
at android.widget.EditText.onFocusChanged(EditText.java:212)
at android.view.View.handleFocusGainInternal(View.java:5997)
at android.view.View.requestFocusNoSearch(View.java:9070)
at android.view.View.requestFocus(View.java:9049)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3057)
at android.view.View.requestFocus(View.java:9016)
at android.view.View.requestFocus(View.java:8995)
at android.view.View.rootViewRequestFocus(View.java:6170)
at android.view.View.clearFocusInternal(View.java:6154)
at android.view.View.clearFocus(View.java:6121)
at com.effective.android.panel.view.ContentContainer.clearFocusByEditText(ContentContainer.java:118)
at com.effective.android.panel.PanelSwitchHelper$2.onFocusChange(PanelSwitchHelper.java:110)
at android.view.View.onFocusChanged(View.java:6271)
at android.widget.TextView.onFocusChanged(TextView.java:9555)
at android.widget.EditText.onFocusChanged(EditText.java:212)
at android.view.View.handleFocusGainInternal(View.java:5997)
at android.view.View.requestFocusNoSearch(View.java:9070)
at android.view.View.requestFocus(View.java:9049)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3054)
at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:3098)
at android.view.ViewGroup.requestFocus(ViewGroup.java:3
07-08 15:32:46.846 19696-19696/com.example.demo D/Error: ERR: TOTAL BYTES WRITTEN: 6650064
07-08 15:32:46.846 19696-19696/com.example.demo E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 6650148)
07-08 15:32:46.846 19696-19706/com.example.demo I/art: Background sticky concurrent mark sweep GC freed 17194(2MB) AllocSpace objects, 0(0B) LOS objects, 0% free, 38MB/38MB, paused 50.768ms total 77.638ms
07-08 15:32:46.846 19696-19696/com.example.demo E/AndroidRuntime: Error reporting crash
android.os.TransactionTooLargeException: data parcel size 6650148 bytes
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:5494)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:96)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
from panelswitchhelper.
07-08 15:32:36.576 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.576 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
07-08 15:32:36.576 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.576 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
07-08 15:32:36.576 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.576 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
07-08 15:32:36.576 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.576 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: PanelSwitchHelper#checkoutFlag -- checkout doing : skip!
07-08 15:32:36.586 19696-19696/com.example.demo D/Panel: LogTracker#onFocusChange -- EditText has focus ( false )
from panelswitchhelper.
好像是一直在两个函数里互相调用
from panelswitchhelper.
好像是一直在两个函数里互相调用
加一下我微信 Ming_Lyan
from panelswitchhelper.
好像是一直在两个函数里互相调用
feature模块的代码已经解决该问题,同时新增1.0.1版本扩展支持视频模块。
更新下依赖就可以了。
感谢提交issue
from panelswitchhelper.
Related Issues (20)
- 140版本升级152版本原有表情包的位置显示是透明的 HOT 3
- 如果输入框上面还有视图得话,列表偏移位置不准确 HOT 11
- 滑动的问题 HOT 2
- 在480*800分辨率,但屏幕特小的手机上
- PanelSwitchHelper同时存在于Activity和dialog时,导致Activity上的PanelSwitchHelper无法监听 HOT 3
- 打开键盘,退到桌面,再进来,点击输入框会导致面板无法关闭
- 自定义EditText 不弹出键盘 HOT 1
- 为什么你发的新版旧版就用不了了呢? HOT 1
- 列表item长按弹出popWindow
- 1.5.4版本依赖下载不下来,试了下1.5.3版本就可以正常下载 HOT 1
- 当采用今日头条的兼容适配方案时,底部的虚拟返回键会挡住部分输入框的布局。 HOT 5
- ViewPger2+Fragment切换时,PanelSwitchLayout中布局不显示 HOT 3
- 弹出软键盘时崩溃 HOT 1
- bug,崩溃 HOT 3
- [兼容性缺陷]华为mate20Pro弹出键盘页面展示异常 HOT 2
- 点击表情面板时,EditText焦点丢失,光标不显示 HOT 2
- 仿抖音评论弹窗效果
- 其他方案 HOT 1
- 全屏视频播放的情景,输入框面板基于PopWindow实现,假如是点击外部的表情按钮唤起 面板,直接显示表情面板该怎样实现? HOT 1
- 使用 BaseDialogFragment 并设置高度后,底部输入框部分不展示,或者展示不全 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panelswitchhelper.