Loading core/java/android/os/Handler.java +4 −3 Original line number Original line Diff line number Diff line Loading @@ -76,11 +76,12 @@ public class Handler { /** /** * Callback interface you can use when instantiating a Handler to avoid * Callback interface you can use when instantiating a Handler to avoid * having to implement your own subclass of Handler. * having to implement your own subclass of Handler. * */ public interface Callback { /** * @param msg A {@link android.os.Message Message} object * @param msg A {@link android.os.Message Message} object * @return True if no further handling is desired * @return True if no further handling is desired */ */ public interface Callback { public boolean handleMessage(Message msg); public boolean handleMessage(Message msg); } } Loading Loading
core/java/android/os/Handler.java +4 −3 Original line number Original line Diff line number Diff line Loading @@ -76,11 +76,12 @@ public class Handler { /** /** * Callback interface you can use when instantiating a Handler to avoid * Callback interface you can use when instantiating a Handler to avoid * having to implement your own subclass of Handler. * having to implement your own subclass of Handler. * */ public interface Callback { /** * @param msg A {@link android.os.Message Message} object * @param msg A {@link android.os.Message Message} object * @return True if no further handling is desired * @return True if no further handling is desired */ */ public interface Callback { public boolean handleMessage(Message msg); public boolean handleMessage(Message msg); } } Loading