free46000 / multiitem Goto Github PK
View Code? Open in Web Editor NEW一个优雅的实现多类型的RecyclerView类库 支持DataBinding Form表单录入 跨多个RecyclerView拖动
License: Apache License 2.0
一个优雅的实现多类型的RecyclerView类库 支持DataBinding Form表单录入 跨多个RecyclerView拖动
License: Apache License 2.0
多个横向滑动的recyclerview之间item的拖动
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
at com.freelib.multiitem.item.LoadMoreManager.setOnLoadMoreClickListener(LoadMoreManager.java:57)
at com.freelib.multiitem.item.LoadMoreManager.loadCompleted(LoadMoreManager.java:115)
at com.freelib.multiitem.adapter.BaseItemAdapter.setLoadCompleted(BaseItemAdapter.java:255)
at com.pd.mainweiyue.view.activity.ReadActivity$20.postSuccessful(ReadActivity.java:1574)
at com.pd.mainweiyue.net.OkHttpUtils$1$4.run(OkHttpUtils.java:201)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
当拖拽的view,向右滑动时,只要拖拽的view超出屏幕时就开始滑动,这个该怎么实现
我想用下拉刷新上拉加载和databinding相结合,但结合之后recyclerview总是滑到最底部
在fragment嵌套后 使用多任务面板
在activity中dispatchTouchEvent设置draghelper.onTouch(ev)
直接没反应了,dispatchTouchEvent也不触发。。还是别的地方拦截了。。
多个recycleview 竖直排序的情况下
1、ITEM 在乱拖动的情况 偶发空指针
2、拖拽边界滑动的情况 卡顿啊,感觉不流畅
正常添加了footview,想移除 没方法调用
我继承了BaseViewHolderManager ,然后在onBindViewHolder 里启动了一个CountDownTimer做倒计时处理,因为每个数据的时间都不一样,item复用导致 时间异常,这个怎么解决
设置数据源设置位置标志flag,拖拽位置改变,位置标志怎么改成相对应的? 比如 item在第一列是 flag= 1,拖拽到第二列第3位置,f需要flag=3,怎么处理?
在fragment使用 没有dispatchTouchEvent 咋弄呢 大佬
目前ViewHolderManager仅提供了绑定数据方法onBindViewHolder,能否也提供视图销毁方法,比如如果要在BaseViewHolderManager中异步加载网络图像的话,就需要在视图销毁时能及时停止并销毁异步加载进程,或者有什么其他解决方案吗?
跨Recyclerview拖动,差不多同时按下两个item,先按下的那个不会消失,会一直在上层view
Error:A problem occurred configuring project ':demo'.
Could not resolve all dependencies for configuration ':demo:_debugApkCopy'.
Could not find com.android.support.constraint:constraint-layout:1.0.1.
Required by:
project :demo
大佬,这个recyclerview 要是嵌套了NestedScrollView,滚动底部就不能自动往下滚了,要怎么设置呢
Information:Gradle tasks [:demo:assembleDebug]
Warning:One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle:
apply plugin: 'me.tatarka.retrolambda'
To learn more, go to https://d.android.com/r/tools/java-8-support-message.html
Warning:One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle:
apply plugin: 'me.tatarka.retrolambda'
To learn more, go to https://d.android.com/r/tools/java-8-support-message.html
Error:Execution failed for task ':library:transformClassesWithRetrolambdaForDebug'.
> Missing javaCompileTask for variant: debug/0 from output dir: /Users/dev01/Downloads/MultiItem-master/library/build/intermediates/transforms/retrolambda/debug/0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.