Jacek Marchwicki
Jacek Marchwicki
This is expected behavior. If you don't want to have multiple connections you should use `.replay(1).refCount()` or just `.replay().refCount()` It depends on your needs.
Currently we don't have plan for this because it depends on our client needs. If I will work on some project that use rxjava2 that needs websockets I will do...
@DavidBcn @pirdaddigiflare @ddcovery @felipe-silvestre-movile @HoracioFilho You can always add footer and header via different types of items `getItemViewType(int position)` Actually this is more universal solution. ListView internally implement in that...
its very simple with recycleradapter just create: ``` java public class AbstractAdapterItem { } public class YourAdapterItem extends AbstractAdapterItem { } public class HeaderAdapterItem extends AbstractAdapterItem { } public class...
also: ``` java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 57(offset:57).state:95 at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3300) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3258) at org.lucasr.twowayview.TwoWayLayoutManager.makeAndAddView(TwoWayLayoutManager.java:469) at org.lucasr.twowayview.TwoWayLayoutManager.fillAfter(TwoWayLayoutManager.java:269) at org.lucasr.twowayview.TwoWayLayoutManager.fillGap(TwoWayLayoutManager.java:237) at org.lucasr.twowayview.TwoWayLayoutManager.scrollBy(TwoWayLayoutManager.java:226) at org.lucasr.twowayview.TwoWayLayoutManager.scrollVerticallyBy(TwoWayLayoutManager.java:783) at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:2715) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761) at android.view.Choreographer.doCallbacks(Choreographer.java:574) at...
For the first one I found simple solution: ``` diff diff --git a/core/src/main/java/org/lucasr/twowayview/TwoWayLayoutManager.java b/core/src/main/java/org/lucasr/twowa index 543574c..81e5aea 100644 --- a/core/src/main/java/org/lucasr/twowayview/TwoWayLayoutManager.java +++ b/core/src/main/java/org/lucasr/twowayview/TwoWayLayoutManager.java @@ -275,6 +275,9 @@ public abstract class TwoWayLayoutManager extends...
For the second I think this might be corelated with: https://code.google.com/p/android/issues/detail?id=77846
@lucasr nope, this is crash from previous version. Its from our production app. After I'll merge master changes to app I will say something more.
Windows is not supported right now, sorry. But we are willing to accept pull-requests.
Maybe some more informations? logs? debug logs? where and how it crashes? Maybe some tea leaves?