I was writing a custom view. I had some properties...
# android
r
I was writing a custom view. I had some properties which when set must trigger an
invalidate()
call. So I made a property Delegate which would invalidate the view. Now I think that because of use of this Delegate although the code looks better(than having custom setters everywhere), I have introduced a lot of overhead as each property when delegated would make a new instance of that Delegate. What should I do?