• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Custom interface in recycler view blocking UI change

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,
I have a nested recycler view with ItemView click listener in child recyclerview, where on click of item-view background color of the card will get change,  also on click of items I'm putting objects in separate ArrayList and pass it to an interface and accessing it from MainActivity (if array pass-through interface  size >0  button enables on main activity for API call) here is my code

Click Listener



INTERFACE



if I comment out   listener.itemClick(skillArray);   color of cards clicked get change, but another functionality depends on it get stopped.
any help/suggestion can be very helpful.






 
You would be much easier to understand if you took that bucket off of your head. And that goes for the tiny ad too!
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic