Add Intent extension functions for View class:
View.startActivity() View.startService() View.stopService() View.intentFor()
I think having those for View is unnecessary and feels like overkill. Why context extensions is not enough?
@4u7 In my project I don't have too many fragments, but have lots of custom views that trigger separate activities or Android intents. This is just a set of extensions that make these actions a bit easier for Views, the same way as existing extension functions for Fragment or AnkoContext do.
These functions would be easier to use, if they were not extension functions, but global functions that get their context from some static global variable if that is possible.