sockeqwe/AdapterDelegates

FALLBACK_DELEGATE_VIEW_TYPE should be made public

edvaldeysteinsson opened this issue · 4 comments

I think that the view type for the fallback delegate should be changed to public, makes sense if a developer wants to take actions based on view types being rendered

static final int FALLBACK_DELEGATE_VIEW_TYPE = Integer.MAX_VALUE - 1;

What is the use case? Isn't setFallbackDelegate() enough?

But right now there is no way to know that it was the fallbackdelegate that was used to render the item.
In my case i do some different things with my ItemDecorator based on the view types

I see. Well it wont hurt to make it public I guess. Wanna send PR?

Sent one now, PR63