Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Android: make a view visible in RecyclerView without calling notifyDataSetChanged()?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 776
    Answer it

     Hi,

     

    I have building an exhibition venture. I am utilizing RecyclerView to demonstrate every one of the pictures originating from server. I am utilizing Picasso to stack the pictures into the Adapter. Presently I have an Edit catch over the RecyclerView. On the off chance that I tap on the Edit catch I need to demonstrate a reject catch on each picture accessible in the Adapter. To make the catch obvious in every one of the things I am calling notifyDataSetChanged() inside the Adapter in the wake of tapping the Edit Button. 

     

    Issue is whether I call notifyDataSetChanged(), Picasso is stacking every one of the pictures once more. How might I abstain from reloading of Images 

    Thanks

     

 0 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: