Instagram like app Realm vs Cursor Loader

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Nov 10, 2015, 4:36:35 PM via Website

I have an instagram like app in which I receive data from a server(imageUrl, username, about) and I store it in a cursorLoader and after that I take the data from the cursorLoader and put it in a RecyclerAdapter. The images are being loaded using the Volley library. I recently found out about the realm library. Should I use this instead of the cursorLoader ? I'm not even sure why I needed the cursor loader, but I implemented it and it's working. I think I only need to store the user once connected so it doesn't have to connect every time the app is called if he didn t disconnect. Which would be the best approach to make this app work smoothly. Which is the best way to keep some data displaying like the instagram/facebook feed once it was downloaded(even after the user killed the app and turned it on again). Could you give me any tips ?

Recommended by NextPit