Can Somebody Explain this java code

前端 未结 5 1192
难免孤独
难免孤独 2020-12-10 08:02

I\'m just starting out on android and my java is verry rusty. I can\'t remember ever seeing a function nested in another function like this before. Could somebody explain to

5条回答
  •  青春惊慌失措
    2020-12-10 08:49

    This code creates an instance of class Handler, and at the same time overrides the "handleMessage" method of Handler.

提交回复
热议问题