In the previous Android programming tutorial, page 192, we see the implementation of LunchList#onOptionsItemSelected . Inside this implementation, we see two startActivity passed to startActivity : one whose constructor is passed to LunchList.this , the other whose constructor is passed to this .
What's the difference?
See lines 78 - 91 here . Note that onOptionsItemSelected not declared inside the inner class.
On Android / Java, does this value change in the context of event handlers or function bindings through reflection? Can Intent this tags pass?
ybakos
source share