Open JakeWharton opened 10 years ago
It sucks having to put this in your hierarchy. What if we walked up the tree and attached ourself at the end of the ViewRootImpl automatically? It could even be idempotent so you always just call:
ViewRootImpl
Scalpel.obtain(this /* <-- activity */).someControl()
This would have to be optional since we (as in me) don't want to clobber things like debug drawers.
It sucks having to put this in your hierarchy. What if we walked up the tree and attached ourself at the end of the
ViewRootImpl
automatically? It could even be idempotent so you always just call: