0

Initially it takes full width of screen. But after adding another column. Card size changes but content inside the view is not aligned based on that. Some of the contents are cropped.

  • can you provide the sample code? it worths for problem solution. – Kiran Maniya Dec 17 '18 at 07:48
  • Sorry I am unable to provide the sample code. I need to refresh the content inside the card based on card size. Is there is any way to call OnCreateViewHolder for all the columns or refresh the whole columns? – geetha rajendran Dec 17 '18 at 08:40
  • i'ts upto you. create a referance for that data model and make changes into it and then redraw the view – Kiran Maniya Dec 17 '18 at 09:41
  • Is there is any way to call OnCreateViewHolder for first added column without making any change in models? – geetha rajendran Dec 17 '18 at 12:03
  • No, Modify the Model data and then inform the recycler view by the notifyDataSetChanged() method. RecyclerView will Redraw itself. – Kiran Maniya Dec 17 '18 at 12:05

0 Answers0