Bojan Dolić
Newbie
Hello all 
Im making an android app,something like book on mobile.
This is the first time I m going to use SQL database,so I do not know much about it.
My problem is that I have activity with 3 different cardviews.
Each cardview represents section in that "book".
I want when I click on the first cardview to open up a list of where the list of lessons from that section of book is displayed, using the recyclerview that gets the data from the SQL database.
After the selected lesson, I want to open up activity that will open a particular PDF file (for example, Lesson 2 is selected and opens the pdf file lesson_2.pdf).
And so for every lesson and section.
This is very complicated for me.
If someone could help me, I would be very grateful.

Im making an android app,something like book on mobile.
This is the first time I m going to use SQL database,so I do not know much about it.
My problem is that I have activity with 3 different cardviews.
Each cardview represents section in that "book".
I want when I click on the first cardview to open up a list of where the list of lessons from that section of book is displayed, using the recyclerview that gets the data from the SQL database.
After the selected lesson, I want to open up activity that will open a particular PDF file (for example, Lesson 2 is selected and opens the pdf file lesson_2.pdf).
And so for every lesson and section.
This is very complicated for me.
If someone could help me, I would be very grateful.