Skip to content

Commit 8740848

Browse files
committed
Update Toast源码解析.md
1 parent 5323fe0 commit 8740848

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

article/Toast源码解析.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ TN类继承自ITransientNotification.Stub,ITransientNotification.aidl,用于
193193
mHandler.post(mHide);
194194
}
195195

196-
//显示Toast
196+
/**
197+
* 显示Toast
198+
*/
197199
public void handleShow() {
198200
if (localLOGV) Log.v(TAG, "HANDLE SHOW: " + this + " mView=" + mView
199201
+ " mNextView=" + mNextView);
@@ -251,7 +253,9 @@ TN类继承自ITransientNotification.Stub,ITransientNotification.aidl,用于
251253
accessibilityManager.sendAccessibilityEvent(event);
252254
}
253255

254-
/** WindowManager调用removeView方法来将Toast视图移除 */
256+
/**
257+
* WindowManager调用removeView方法来将Toast视图移除
258+
*/
255259
public void handleHide() {
256260
if (localLOGV) Log.v(TAG, "HANDLE HIDE: " + this + " mView=" + mView);
257261
if (mView != null) {

0 commit comments

Comments
 (0)