您的位置:首页 > 其它

sendEmptyMessage And sendMessage

2012-01-21 13:01 411 查看
/**
* Sends a Message containing only the what value.
*/
public final boolean sendEmptyMessage(int what)
{
  return sendEmptyMessageDelayed(what, 0);
}

/**
* Pushes a message onto the end of the message queue after all pending messages
* before the current time. It will be received in {@link #handleMessage},
* in the thread attached to this handler.
*/
public final boolean sendMessage(Message msg)
{
  return sendMessageDelayed(msg, 0);
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐