nested recyclerview inside adapter












0















I am developing an android app where I have used nested RecyclerView but I am not achieving what I want.I want to achieve on this list it should show Title and below multiple images like json below how can I achieve that I am using two viewholder and it should scrool as well.
json structure



below Adapter class
public class UranAdapter extends RecyclerView.Adapter {



public List<Exhibit> exhibitList;
public Context context;

public UranAdapter(List<Exhibit> uranList, Context context) {
this.exhibitList = uranList;
this.context = context;

}

@NonNull
@Override
public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {


View itemView;
switch (viewType) {
case Exhibit.TEXT_TYPE:
itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.exhibit_list, parent, false);
return new ViewHolder(itemView);
case Exhibit.IMAGE_TYPE:
itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.exhibit_list2, parent, false);
return new ImageViewHolder(itemView);

}
return null;
}

@Override
public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int i) {

}


@Override
public int getItemViewType(int position) {


return exhibitList.get(position).type;
}

public int getItemCount() {
return exhibitList.size();
}


public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
Exhibit exhibit = exhibitList.get(position);
switch (exhibit.type) {

case Exhibit.TEXT_TYPE:
((ViewHolder) holder).exhibition_textView.setText(exhibit.getTitle());

break;


case Exhibit.IMAGE_TYPE:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
((ViewHolder) holder).exhibition_imageView.setImageResource(exhibit.image);
}


break;

}

}



public static class ViewHolder extends RecyclerView.ViewHolder {


public ImageView exhibition_imageView;
TextView exhibition_textView;

public ViewHolder(View view) {
super(view);
exhibition_textView = (TextView) view.findViewById(R.id.exhibition_textview);


}
}
public static class ImageViewHolder extends RecyclerView.ViewHolder {


public ImageView exhibition_imageView;
TextView exhibition_textView;

public ImageViewHolder(View view) {
super(view);
exhibition_imageView = (ImageView) view.findViewById(R.id.exhibition_imageview);


}
}
}


below MainActivity



public class MainActivity extends AppCompatActivity {



public List<Exhibit> exhibitList = new ArrayList<>();
Context context;
RecyclerView recyclerView;


public UranAdapter uranAdapter;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

ApiInterface apiInterface = ApiClient.getApiService();
Call<ExhibitsLoader> call = apiInterface.getExhibitList();
call.enqueue(new Callback<ExhibitsLoader>() {
@Override
public void onResponse(Call<ExhibitsLoader> call, Response<ExhibitsLoader> response) {
exhibitList = response.body().getExhibitList();
exhibitList.add(new Exhibit(Exhibit.IMAGE_TYPE));
RecyclerView recyclerView = findViewById(R.id.recycler_view);
recyclerView.setLayoutManager(new LinearLayoutManager(getApplicationContext()));
uranAdapter = new UranAdapter(exhibitList, context); // changes
recyclerView.setAdapter(uranAdapter);

}

@Override
public void onFailure(Call<ExhibitsLoader> call, Throwable t) {

}
});


}


}



below image what I want
image










share|improve this question

























  • Add an image, what you trying to do.

    – GensaGames
    Nov 14 '18 at 17:00











  • @GensaGames, I have added screenshot can you see that

    – Snowdinjon Edgarjon
    Nov 14 '18 at 17:32
















0















I am developing an android app where I have used nested RecyclerView but I am not achieving what I want.I want to achieve on this list it should show Title and below multiple images like json below how can I achieve that I am using two viewholder and it should scrool as well.
json structure



below Adapter class
public class UranAdapter extends RecyclerView.Adapter {



public List<Exhibit> exhibitList;
public Context context;

public UranAdapter(List<Exhibit> uranList, Context context) {
this.exhibitList = uranList;
this.context = context;

}

@NonNull
@Override
public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {


View itemView;
switch (viewType) {
case Exhibit.TEXT_TYPE:
itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.exhibit_list, parent, false);
return new ViewHolder(itemView);
case Exhibit.IMAGE_TYPE:
itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.exhibit_list2, parent, false);
return new ImageViewHolder(itemView);

}
return null;
}

@Override
public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int i) {

}


@Override
public int getItemViewType(int position) {


return exhibitList.get(position).type;
}

public int getItemCount() {
return exhibitList.size();
}


public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
Exhibit exhibit = exhibitList.get(position);
switch (exhibit.type) {

case Exhibit.TEXT_TYPE:
((ViewHolder) holder).exhibition_textView.setText(exhibit.getTitle());

break;


case Exhibit.IMAGE_TYPE:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
((ViewHolder) holder).exhibition_imageView.setImageResource(exhibit.image);
}


break;

}

}



public static class ViewHolder extends RecyclerView.ViewHolder {


public ImageView exhibition_imageView;
TextView exhibition_textView;

public ViewHolder(View view) {
super(view);
exhibition_textView = (TextView) view.findViewById(R.id.exhibition_textview);


}
}
public static class ImageViewHolder extends RecyclerView.ViewHolder {


public ImageView exhibition_imageView;
TextView exhibition_textView;

public ImageViewHolder(View view) {
super(view);
exhibition_imageView = (ImageView) view.findViewById(R.id.exhibition_imageview);


}
}
}


below MainActivity



public class MainActivity extends AppCompatActivity {



public List<Exhibit> exhibitList = new ArrayList<>();
Context context;
RecyclerView recyclerView;


public UranAdapter uranAdapter;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

ApiInterface apiInterface = ApiClient.getApiService();
Call<ExhibitsLoader> call = apiInterface.getExhibitList();
call.enqueue(new Callback<ExhibitsLoader>() {
@Override
public void onResponse(Call<ExhibitsLoader> call, Response<ExhibitsLoader> response) {
exhibitList = response.body().getExhibitList();
exhibitList.add(new Exhibit(Exhibit.IMAGE_TYPE));
RecyclerView recyclerView = findViewById(R.id.recycler_view);
recyclerView.setLayoutManager(new LinearLayoutManager(getApplicationContext()));
uranAdapter = new UranAdapter(exhibitList, context); // changes
recyclerView.setAdapter(uranAdapter);

}

@Override
public void onFailure(Call<ExhibitsLoader> call, Throwable t) {

}
});


}


}



below image what I want
image










share|improve this question

























  • Add an image, what you trying to do.

    – GensaGames
    Nov 14 '18 at 17:00











  • @GensaGames, I have added screenshot can you see that

    – Snowdinjon Edgarjon
    Nov 14 '18 at 17:32














0












0








0








I am developing an android app where I have used nested RecyclerView but I am not achieving what I want.I want to achieve on this list it should show Title and below multiple images like json below how can I achieve that I am using two viewholder and it should scrool as well.
json structure



below Adapter class
public class UranAdapter extends RecyclerView.Adapter {



public List<Exhibit> exhibitList;
public Context context;

public UranAdapter(List<Exhibit> uranList, Context context) {
this.exhibitList = uranList;
this.context = context;

}

@NonNull
@Override
public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {


View itemView;
switch (viewType) {
case Exhibit.TEXT_TYPE:
itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.exhibit_list, parent, false);
return new ViewHolder(itemView);
case Exhibit.IMAGE_TYPE:
itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.exhibit_list2, parent, false);
return new ImageViewHolder(itemView);

}
return null;
}

@Override
public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int i) {

}


@Override
public int getItemViewType(int position) {


return exhibitList.get(position).type;
}

public int getItemCount() {
return exhibitList.size();
}


public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
Exhibit exhibit = exhibitList.get(position);
switch (exhibit.type) {

case Exhibit.TEXT_TYPE:
((ViewHolder) holder).exhibition_textView.setText(exhibit.getTitle());

break;


case Exhibit.IMAGE_TYPE:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
((ViewHolder) holder).exhibition_imageView.setImageResource(exhibit.image);
}


break;

}

}



public static class ViewHolder extends RecyclerView.ViewHolder {


public ImageView exhibition_imageView;
TextView exhibition_textView;

public ViewHolder(View view) {
super(view);
exhibition_textView = (TextView) view.findViewById(R.id.exhibition_textview);


}
}
public static class ImageViewHolder extends RecyclerView.ViewHolder {


public ImageView exhibition_imageView;
TextView exhibition_textView;

public ImageViewHolder(View view) {
super(view);
exhibition_imageView = (ImageView) view.findViewById(R.id.exhibition_imageview);


}
}
}


below MainActivity



public class MainActivity extends AppCompatActivity {



public List<Exhibit> exhibitList = new ArrayList<>();
Context context;
RecyclerView recyclerView;


public UranAdapter uranAdapter;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

ApiInterface apiInterface = ApiClient.getApiService();
Call<ExhibitsLoader> call = apiInterface.getExhibitList();
call.enqueue(new Callback<ExhibitsLoader>() {
@Override
public void onResponse(Call<ExhibitsLoader> call, Response<ExhibitsLoader> response) {
exhibitList = response.body().getExhibitList();
exhibitList.add(new Exhibit(Exhibit.IMAGE_TYPE));
RecyclerView recyclerView = findViewById(R.id.recycler_view);
recyclerView.setLayoutManager(new LinearLayoutManager(getApplicationContext()));
uranAdapter = new UranAdapter(exhibitList, context); // changes
recyclerView.setAdapter(uranAdapter);

}

@Override
public void onFailure(Call<ExhibitsLoader> call, Throwable t) {

}
});


}


}



below image what I want
image










share|improve this question
















I am developing an android app where I have used nested RecyclerView but I am not achieving what I want.I want to achieve on this list it should show Title and below multiple images like json below how can I achieve that I am using two viewholder and it should scrool as well.
json structure



below Adapter class
public class UranAdapter extends RecyclerView.Adapter {



public List<Exhibit> exhibitList;
public Context context;

public UranAdapter(List<Exhibit> uranList, Context context) {
this.exhibitList = uranList;
this.context = context;

}

@NonNull
@Override
public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {


View itemView;
switch (viewType) {
case Exhibit.TEXT_TYPE:
itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.exhibit_list, parent, false);
return new ViewHolder(itemView);
case Exhibit.IMAGE_TYPE:
itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.exhibit_list2, parent, false);
return new ImageViewHolder(itemView);

}
return null;
}

@Override
public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int i) {

}


@Override
public int getItemViewType(int position) {


return exhibitList.get(position).type;
}

public int getItemCount() {
return exhibitList.size();
}


public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
Exhibit exhibit = exhibitList.get(position);
switch (exhibit.type) {

case Exhibit.TEXT_TYPE:
((ViewHolder) holder).exhibition_textView.setText(exhibit.getTitle());

break;


case Exhibit.IMAGE_TYPE:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
((ViewHolder) holder).exhibition_imageView.setImageResource(exhibit.image);
}


break;

}

}



public static class ViewHolder extends RecyclerView.ViewHolder {


public ImageView exhibition_imageView;
TextView exhibition_textView;

public ViewHolder(View view) {
super(view);
exhibition_textView = (TextView) view.findViewById(R.id.exhibition_textview);


}
}
public static class ImageViewHolder extends RecyclerView.ViewHolder {


public ImageView exhibition_imageView;
TextView exhibition_textView;

public ImageViewHolder(View view) {
super(view);
exhibition_imageView = (ImageView) view.findViewById(R.id.exhibition_imageview);


}
}
}


below MainActivity



public class MainActivity extends AppCompatActivity {



public List<Exhibit> exhibitList = new ArrayList<>();
Context context;
RecyclerView recyclerView;


public UranAdapter uranAdapter;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

ApiInterface apiInterface = ApiClient.getApiService();
Call<ExhibitsLoader> call = apiInterface.getExhibitList();
call.enqueue(new Callback<ExhibitsLoader>() {
@Override
public void onResponse(Call<ExhibitsLoader> call, Response<ExhibitsLoader> response) {
exhibitList = response.body().getExhibitList();
exhibitList.add(new Exhibit(Exhibit.IMAGE_TYPE));
RecyclerView recyclerView = findViewById(R.id.recycler_view);
recyclerView.setLayoutManager(new LinearLayoutManager(getApplicationContext()));
uranAdapter = new UranAdapter(exhibitList, context); // changes
recyclerView.setAdapter(uranAdapter);

}

@Override
public void onFailure(Call<ExhibitsLoader> call, Throwable t) {

}
});


}


}



below image what I want
image







android nestedrecyclerview






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 14 '18 at 17:20







Snowdinjon Edgarjon

















asked Nov 14 '18 at 15:03









Snowdinjon EdgarjonSnowdinjon Edgarjon

286




286













  • Add an image, what you trying to do.

    – GensaGames
    Nov 14 '18 at 17:00











  • @GensaGames, I have added screenshot can you see that

    – Snowdinjon Edgarjon
    Nov 14 '18 at 17:32



















  • Add an image, what you trying to do.

    – GensaGames
    Nov 14 '18 at 17:00











  • @GensaGames, I have added screenshot can you see that

    – Snowdinjon Edgarjon
    Nov 14 '18 at 17:32

















Add an image, what you trying to do.

– GensaGames
Nov 14 '18 at 17:00





Add an image, what you trying to do.

– GensaGames
Nov 14 '18 at 17:00













@GensaGames, I have added screenshot can you see that

– Snowdinjon Edgarjon
Nov 14 '18 at 17:32





@GensaGames, I have added screenshot can you see that

– Snowdinjon Edgarjon
Nov 14 '18 at 17:32












4 Answers
4






active

oldest

votes


















0














I think what you need here is flatMap the embedded image list into one-level list and you're going correctly to have two ViewHolder of different types, one for title, and one for image. Don't understand why your ViewHolders are static.






share|improve this answer
























  • HI Krzystof can you give some tutorial I did not understand how to implement

    – Snowdinjon Edgarjon
    Nov 14 '18 at 15:18



















0














You forget to call notifyDatasetChanged() after setting the adapter.



        uranAdapter = new UranAdapter(exhibitList, context); // changes
recyclerView.setAdapter(uranAdapter);
uranAdapter.notifyDatasetChanged();





share|improve this answer
























  • Games can you see screenshot I have already added

    – Snowdinjon Edgarjon
    Nov 14 '18 at 17:21



















0














Use Expandable CardView for this ..
Like : https://www.youtube.com/watch?v=z9qScBaKfnM&t=727s






share|improve this answer































    0














    Why don't you use two RecyclerViews, one inside the other?



    One RecyclerView will have the title and a children RecyclerView. The second RecyclerView(the children RecyclerView) will have just the images.



    Check this post: Recyclerview inside Recyclerview , get click position of child row inside parent Adapter






    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53303164%2fnested-recyclerview-inside-adapter%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      I think what you need here is flatMap the embedded image list into one-level list and you're going correctly to have two ViewHolder of different types, one for title, and one for image. Don't understand why your ViewHolders are static.






      share|improve this answer
























      • HI Krzystof can you give some tutorial I did not understand how to implement

        – Snowdinjon Edgarjon
        Nov 14 '18 at 15:18
















      0














      I think what you need here is flatMap the embedded image list into one-level list and you're going correctly to have two ViewHolder of different types, one for title, and one for image. Don't understand why your ViewHolders are static.






      share|improve this answer
























      • HI Krzystof can you give some tutorial I did not understand how to implement

        – Snowdinjon Edgarjon
        Nov 14 '18 at 15:18














      0












      0








      0







      I think what you need here is flatMap the embedded image list into one-level list and you're going correctly to have two ViewHolder of different types, one for title, and one for image. Don't understand why your ViewHolders are static.






      share|improve this answer













      I think what you need here is flatMap the embedded image list into one-level list and you're going correctly to have two ViewHolder of different types, one for title, and one for image. Don't understand why your ViewHolders are static.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Nov 14 '18 at 15:15









      Krzysztof KubickiKrzysztof Kubicki

      430412




      430412













      • HI Krzystof can you give some tutorial I did not understand how to implement

        – Snowdinjon Edgarjon
        Nov 14 '18 at 15:18



















      • HI Krzystof can you give some tutorial I did not understand how to implement

        – Snowdinjon Edgarjon
        Nov 14 '18 at 15:18

















      HI Krzystof can you give some tutorial I did not understand how to implement

      – Snowdinjon Edgarjon
      Nov 14 '18 at 15:18





      HI Krzystof can you give some tutorial I did not understand how to implement

      – Snowdinjon Edgarjon
      Nov 14 '18 at 15:18













      0














      You forget to call notifyDatasetChanged() after setting the adapter.



              uranAdapter = new UranAdapter(exhibitList, context); // changes
      recyclerView.setAdapter(uranAdapter);
      uranAdapter.notifyDatasetChanged();





      share|improve this answer
























      • Games can you see screenshot I have already added

        – Snowdinjon Edgarjon
        Nov 14 '18 at 17:21
















      0














      You forget to call notifyDatasetChanged() after setting the adapter.



              uranAdapter = new UranAdapter(exhibitList, context); // changes
      recyclerView.setAdapter(uranAdapter);
      uranAdapter.notifyDatasetChanged();





      share|improve this answer
























      • Games can you see screenshot I have already added

        – Snowdinjon Edgarjon
        Nov 14 '18 at 17:21














      0












      0








      0







      You forget to call notifyDatasetChanged() after setting the adapter.



              uranAdapter = new UranAdapter(exhibitList, context); // changes
      recyclerView.setAdapter(uranAdapter);
      uranAdapter.notifyDatasetChanged();





      share|improve this answer













      You forget to call notifyDatasetChanged() after setting the adapter.



              uranAdapter = new UranAdapter(exhibitList, context); // changes
      recyclerView.setAdapter(uranAdapter);
      uranAdapter.notifyDatasetChanged();






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Nov 14 '18 at 17:02









      GensaGamesGensaGames

      1,525726




      1,525726













      • Games can you see screenshot I have already added

        – Snowdinjon Edgarjon
        Nov 14 '18 at 17:21



















      • Games can you see screenshot I have already added

        – Snowdinjon Edgarjon
        Nov 14 '18 at 17:21

















      Games can you see screenshot I have already added

      – Snowdinjon Edgarjon
      Nov 14 '18 at 17:21





      Games can you see screenshot I have already added

      – Snowdinjon Edgarjon
      Nov 14 '18 at 17:21











      0














      Use Expandable CardView for this ..
      Like : https://www.youtube.com/watch?v=z9qScBaKfnM&t=727s






      share|improve this answer




























        0














        Use Expandable CardView for this ..
        Like : https://www.youtube.com/watch?v=z9qScBaKfnM&t=727s






        share|improve this answer


























          0












          0








          0







          Use Expandable CardView for this ..
          Like : https://www.youtube.com/watch?v=z9qScBaKfnM&t=727s






          share|improve this answer













          Use Expandable CardView for this ..
          Like : https://www.youtube.com/watch?v=z9qScBaKfnM&t=727s







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 14 '18 at 17:57









          Davidson SilvaDavidson Silva

          11




          11























              0














              Why don't you use two RecyclerViews, one inside the other?



              One RecyclerView will have the title and a children RecyclerView. The second RecyclerView(the children RecyclerView) will have just the images.



              Check this post: Recyclerview inside Recyclerview , get click position of child row inside parent Adapter






              share|improve this answer




























                0














                Why don't you use two RecyclerViews, one inside the other?



                One RecyclerView will have the title and a children RecyclerView. The second RecyclerView(the children RecyclerView) will have just the images.



                Check this post: Recyclerview inside Recyclerview , get click position of child row inside parent Adapter






                share|improve this answer


























                  0












                  0








                  0







                  Why don't you use two RecyclerViews, one inside the other?



                  One RecyclerView will have the title and a children RecyclerView. The second RecyclerView(the children RecyclerView) will have just the images.



                  Check this post: Recyclerview inside Recyclerview , get click position of child row inside parent Adapter






                  share|improve this answer













                  Why don't you use two RecyclerViews, one inside the other?



                  One RecyclerView will have the title and a children RecyclerView. The second RecyclerView(the children RecyclerView) will have just the images.



                  Check this post: Recyclerview inside Recyclerview , get click position of child row inside parent Adapter







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 22 '18 at 23:13









                  Danilo_1289Danilo_1289

                  212




                  212






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53303164%2fnested-recyclerview-inside-adapter%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Florida Star v. B. J. F.

                      Danny Elfman

                      Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues