title: RecyclerView Adapter and ViewHolder update dynamically
body: <p>I am trying to make an app that will be loading news from the network and will be updating dynamically. I am using a <code>RecyclerView</code> and <code>CardView</code> to display the content. I use <code>Jsoup</code> to parse sites. I don't think that my code is needed because my question is more theoretical than practical. I want to understand the process of dynamic updating using <code>notifyDataSetChanged()</code>. In my main activity I get all the headers and add them to list. But I need to wait untill all the items are loaded to start displaying them. I would really appreciate if someone could post a sample code of what I'm trying to do because I couldn't find a lot of information about combining <code>ViewHolder</code>, <code>Adapter</code> and <code>RecyclerView</code>. </p>