Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+13 votes

We want to display things using the recycler view and we're having trouble implementing it. If you have any documentation that helps, that would be greatly appreciated!

asked in CSC490_Spring2019 by (1 point)

2 Answers

+6 votes
 
Best answer

The tutorial I used to figure out recycler views was this one:

https://code.tutsplus.com/tutorials/getting-started-with-recyclerview-and-cardview-on-android--cms-23465

If anything about it is unclear, here is a link to the full code related to the tutorial:

https://github.com/tutsplus/Android-CardViewRecyclerView

answered by (1 point)
selected by
+8 votes

The OSL events app (from last year) used a RecyclerAdapter (with data pulled from Firebase) to show events.

See:

https://github.com/augustanacsc490spring2019/OSL-Calendar-Android-App/tree/master/app/src/main/java/edu/augustana/osleventsandroid

However, you might want to find a simpler tutorial on RecyclerAdapters on the web somewhere... since that might be easier than figuring out their code.

I'm guessing you've already tried the official android docs tutorial?

https://developer.android.com/guide/topics/ui/layout/recyclerview

answered by (508 points)
+3

Yeah I had tried the official docs along with Michael's help (because he's been working on the VikeLife app) and it didn't work for me. I couldn't get anything to show up. This was for my individual, but I ended up not using it because I couldn't get it to work. But now we're planning on using it for the group project and we're having problems getting it to work.

...