Regular fragments support?
AAverin opened this issue · comments
I'm not using support.v4.Fragment in my project - I reference v13 support library and use regular SDK Fragment class as the base for all my fragments.
Passing that fragments class instance to validate function doens't work - it requires either Activity or support.v4.Fragment.
Would be good to be able to use library without support.v4 at all.
Hi @AAverin. You are able to pass in Activity, Fragment or just any Object for validation. The only caveat is that cross field validations will not work in case of an Object target. I'm aware that this is not very transparent and we should make it more clear for future releases.
Is there any plan to change this? What is the actual reason for that? Any workarounds?