Yes, this is the only onclick in this fragment, but also reference to the ```btnCancel``` is not used anywhere else in the fragment, so you can turn it from a class variable to a local one. Local variables are much cheaper for the Dalvik vm (and jvm for that matter) to generate than instance variables.

If I had used ```this```, ```btnCancel``` would have to be an instance field, so that the ```onClick``` method can see it.

My third reason is just for aesthetic purposes. IMO, it makes it easier to see who is doing what, instead of having to parse a monolithic ```onClick``` method that defines the behavior for every components in the fragment.