0

I have a Recycler view with a custom layout

The custom layout has a button that updates some information this process takes some time and is done in an AsyncTask

My Question is can i change my custom layout to a ProgressDialog while this operation is taking place on the Selected row item only, and then when it is finished change back to the custom layout ??

Andy Cass
  • 398
  • 6
  • 16

1 Answers1

1

Yes in that case you should implement a progress bar in each row

When second row button is clicked replace button with the progress bar and when operation is finished make progress bar hide so that it will revert to original state

Happy codding!

Mohit Trivedi
  • 699
  • 3
  • 13