SyntaxFix
Write A Post
Hire A Developer
Questions
No need to define a new interface when you can use an existing one: android.os.Handler.Callback. Pass an object of type Callback, and invoke callback's handleMessage(Message msg).
android.os.Handler.Callback
handleMessage(Message msg)