• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

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.






 
Amateurs built google. Professionals built the titanic. We can't find the guy that built this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic