PlaceHolderView icon indicating copy to clipboard operation
PlaceHolderView copied to clipboard

Add an example with custom Adapter

Open rkmax opened this issue 7 years ago • 3 comments

Hey I'm testing this library since yesterday, great job!

I think would be great if you could provide some example with an custom adapter, that include some topics like

  • allow update the placeholderview
  • update previously attached views

if it's possible that you have some example that cover this topics, could you please point me in the right direction, thanks in advance

rkmax avatar Feb 06 '18 18:02 rkmax

@rkmax You can use these methods for updating the PlaceHolderView

        mPlaceHolderView.getViewAdapter().notifyDataSetChanged();
        mPlaceHolderView.getViewAdapter().notifyItemChanged(1);

janishar avatar Feb 11 '18 11:02 janishar

I was thinking more on an example with a custom adapter and sample of Resolve method, all connected together

rkmax avatar Feb 11 '18 17:02 rkmax

I want to render only one object array list but these objects have two different keys, and I want to show two view in one placeholder view and changing view by clicking button.is there anyone known how to implements this one?

myatmon avatar Feb 20 '18 07:02 myatmon