Clarify Toast.Callback javadoc
Text was ambiguous and could mean callback object construction instead of toast construction. Test: Builds Bug: 144152069 Change-Id: I06160de2b85f339517ae45d3bd4cc1098f433ef0
This commit is contained in:
@@ -755,8 +755,9 @@ public class Toast {
|
||||
/**
|
||||
* Callback object to be called when the toast is shown or hidden.
|
||||
*
|
||||
* Callback methods will be called on the looper thread provided on construction.
|
||||
* <p>Callback methods will be called on the looper thread used for the {@link Toast} object.
|
||||
*
|
||||
* @see #makeText(Context, Looper, CharSequence, int)
|
||||
* @see #addCallback(Callback)
|
||||
*/
|
||||
public abstract static class Callback {
|
||||
|
||||
Reference in New Issue
Block a user