Talking in the context of the third snippet of code given on this page, there is a method of a Messenger
named getBinder()
which returns the IBinder
the Messenger
is using to communicate with the associated Handler
.
Now why would we need an IBinder
for the Messenger
to communicate with the Handler, when a Messenger
is a reference to the Handler
, and both are created in the same class
?