title: ListView inside Recycler View Android
body: <p>I want to make a chat application in which users can ask questions and then videos to the question is below the particular question.
  I'm able to display the questions from firebase using a recyclerView but how can I display the list of videos below that particular question? It is possible that no video is their for a question and for some their can be 4 videos as well which should be displayed below the question only and the whole chat continues.
  Also I want to know what is the best way to display the video when I have the download URL of the video from firebase</p>
  
  <pre><code>{
    "VideoLink" : { 
    "1" :{
      "designation" : "Station Master",
      "download_url" : "https://firebasestorage.googleapis.com/v0/b.appspot.com/o/videoplayback.mp4?alt=media&amp;token=e3be87",
      "duration" : "4:00",
      "time" : "14:45",
      "videoSenderName" : "Garvit Gupta"
    },
    "2" :{
      "designation" : "Businessman",
      "download_url" : "https://firebasestorage.googleapis.cpp.appspot.com/o/videoplayback.mp4?alt=media&amp;token=e3be8cfe-7043-4c0a-80f1-7ff94637cca7",
      "duration" : "4:00",
      "time" : "14:45",
      "videoSenderName" : "Government teacher"
      },
    },
  
    "question" : "How can I master english",
    "senderName" : "Aditya",
    "status" : 1,
    "timestamp" : "12:30",
    "userId" : "2"
  }
  </code></pre>
  
  <p>code:-</p>
  
  <pre><code> reference.addListenerForSingleValueEvent(new ValueEventListener() {
          @Override
          public void onDataChange(DataSnapshot dataSnapshot) {
              for (DataSnapshot postSnap : dataSnapshot.getChildren()) {
  
                  question = postSnap.getValue(Question.class);
  
                  if (question.getStatus() == 1) {
                      for (DataSnapshot snap : postSnap.child("VideoLink").getChildren()) {
  
                          QuestionVideo video = snap.getValue(QuestionVideo.class);
  
                          if (video != null) {
                              videoArrayList.add(video);
                              Log.d("HELLOOO", "video is not null"+videoArrayList.toString());
  
                          }
                      }
                      if (!videoArrayList.isEmpty()) {
  
                          question.setVideoLink(videoArrayList);
  
                          videoArrayList.clear();
                      }
  
                      Log.d("HELLOOO", "getting list"+question.getVideoLink());
                      //adding only approved questions to the recycler view
                      list.add(question);
                  }
  
              }
  </code></pre>
  
  <p>I'm setting the list but in get, it's returning null</p>