Comments (6)
lodenvier, I think it'll be great to also expose the LayoutManager on the forked repo. Or at least a way to set stackFromBottom or stackFromEnd on the layoutManager.
Cheers
from realm-recyclerview.
I'm still stuck with this. I'm trying to use Realm and their home site uses this custom recycler view as an "official recipe". The trouble is my Recycler views are horizontal, and I don't know how to set this up. The author should have a prompt answer, but it's been 24 days without any response, so I'll go digging the source code (which, by the way, is very well written! nice.)
from realm-recyclerview.
Now I know why the author didn't respond. It was so stupid after all:
recyclerView.setOrientation(LinearLayoutManager.HORIZONTAL);
Sorry, I was wrong. This code ONLY works for GridLayout. I didn't find anything that could allow me to create an horizontal recycler view.
from realm-recyclerview.
Thorben, is there a way to use a LinearLaytout with an horizonal orientation with the current code?
from realm-recyclerview.
I've created a fork of this code which allows horizontal orientation for LinearLayout. It can be found here: https://github.com/loudenvier/realm-recyclerview
You can use it in your code by replacing the current RealmRecyclerView dependency with the following:
compile 'com.github.loudenvier:realm-recyclerview:0.9.21d'
Of course, you should check the releases for newer releases and use it, and also keep an eye when this is officially merged (if ever) into the official RealmRecyclerView, as Thorben has a much, MUCH better chance of improving the code I've added.
from realm-recyclerview.
@abba-maker I'll merge my repo with the original. Thorben has already exposed the recycler view. I'll do it over the weekend, since I'm in a real rush at the office these days! I'll comment here when I finish it. I'll also create a pull request with the modifications Thorben asked me to do to accept it, so there won't be a need for my "parallel" version!
from realm-recyclerview.
Related Issues (20)
- Is it possible to animate RealmRecycleView when i change sort directional?
- example app ArrayIndexOutOfBoundsException: rowIndex > available rows: 2 > 2
- Realm recycler view not refreshing on first insert HOT 1
- How to Make Recycler View show rows from bottom HOT 1
- java.lang.NullPointerException null object reference in Fragment
- Can I group by any field? HOT 1
- Please update to Realm Java 3.0.0
- Can't create a RealmRecycleView Programmatically
- Realm Recyclerview not working with Realm 3.5.0 HOT 1
- Error:(39, 14) Failed to resolve: com.github.thorbenprimke:realm-recyclerview:0.9.25 HOT 1
- Doesn't work with android studio 3.0
- How can we get the LayoutManager? HOT 2
- Enable swipe to delete only in one direction?
- Need to draw background with an icon when the user swipes an item
- Fatal signal 11 while deleting object from Realm
- How to scroll to position not softly?
- how to fire loadmore after fetching and showing every 100 records from realm HOT 1
- Issues When Having Multiple View Types HOT 1
- Attempting to use Realm-recyclerview with Object Server.... HOT 4
- Size APK HOT 1
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 realm-recyclerview.