跳过导航链接
B C D G H I L S T 

B

BaseToast - com.hjq.toast中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/11/03 desc : Toast 基类
BaseToast(Application) - 类 的构造器com.hjq.toast.BaseToast
 
BaseToastStyle - com.hjq.toast.style中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2019/05/19 desc : 默认样式基类
BaseToastStyle(Context) - 类 的构造器com.hjq.toast.style.BaseToastStyle
 
bind(Toast) - 接口 中的方法com.hjq.toast.IToastStrategy
绑定 Toast 对象
bind(Toast) - 类 中的方法com.hjq.toast.ToastStrategy
 

C

cancel() - 接口 中的方法com.hjq.toast.IToastStrategy
取消 Toast
cancel() - 类 中的方法com.hjq.toast.SupportToast
 
cancel() - 类 中的方法com.hjq.toast.ToastStrategy
 
cancel() - 类 中的静态方法com.hjq.toast.ToastUtils
取消吐司的显示
com.hjq.toast - 程序包 com.hjq.toast
 
com.hjq.toast.style - 程序包 com.hjq.toast.style
 

D

dp2px(float) - 类 中的方法com.hjq.toast.style.BaseToastStyle
dp转px

G

getBackgroundColor() - 接口 中的方法com.hjq.toast.IToastStyle
背景颜色
getBackgroundColor() - 类 中的方法com.hjq.toast.style.ToastAliPayStyle
 
getBackgroundColor() - 类 中的方法com.hjq.toast.style.ToastBlackStyle
 
getBackgroundColor() - 类 中的方法com.hjq.toast.style.ToastQQStyle
 
getBackgroundColor() - 类 中的方法com.hjq.toast.style.ToastWhiteStyle
 
getCornerRadius() - 接口 中的方法com.hjq.toast.IToastStyle
圆角大小
getCornerRadius() - 类 中的方法com.hjq.toast.style.ToastAliPayStyle
 
getCornerRadius() - 类 中的方法com.hjq.toast.style.ToastBlackStyle
 
getCornerRadius() - 类 中的方法com.hjq.toast.style.ToastQQStyle
 
getGravity() - 接口 中的方法com.hjq.toast.IToastStyle
吐司的重心
getGravity() - 类 中的方法com.hjq.toast.style.BaseToastStyle
 
getGravity() - 类 中的方法com.hjq.toast.style.ToastAliPayStyle
 
getGravity() - 类 中的方法com.hjq.toast.SupportToast
 
getHorizontalMargin() - 类 中的方法com.hjq.toast.SupportToast
 
getMaxLines() - 接口 中的方法com.hjq.toast.IToastStyle
最大行数
getMaxLines() - 类 中的方法com.hjq.toast.style.BaseToastStyle
 
getPaddingBottom() - 接口 中的方法com.hjq.toast.IToastStyle
底部内边距
getPaddingBottom() - 类 中的方法com.hjq.toast.style.BaseToastStyle
 
getPaddingEnd() - 接口 中的方法com.hjq.toast.IToastStyle
结束内边距
getPaddingEnd() - 类 中的方法com.hjq.toast.style.BaseToastStyle
 
getPaddingStart() - 接口 中的方法com.hjq.toast.IToastStyle
开始内边距
getPaddingStart() - 类 中的方法com.hjq.toast.style.ToastAliPayStyle
 
getPaddingStart() - 类 中的方法com.hjq.toast.style.ToastBlackStyle
 
getPaddingStart() - 类 中的方法com.hjq.toast.style.ToastQQStyle
 
getPaddingTop() - 接口 中的方法com.hjq.toast.IToastStyle
顶部内边距
getPaddingTop() - 类 中的方法com.hjq.toast.style.ToastAliPayStyle
 
getPaddingTop() - 类 中的方法com.hjq.toast.style.ToastBlackStyle
 
getPaddingTop() - 类 中的方法com.hjq.toast.style.ToastQQStyle
 
getTextColor() - 接口 中的方法com.hjq.toast.IToastStyle
文本颜色
getTextColor() - 类 中的方法com.hjq.toast.style.ToastAliPayStyle
 
getTextColor() - 类 中的方法com.hjq.toast.style.ToastBlackStyle
 
getTextColor() - 类 中的方法com.hjq.toast.style.ToastQQStyle
 
getTextColor() - 类 中的方法com.hjq.toast.style.ToastWhiteStyle
 
getTextSize() - 接口 中的方法com.hjq.toast.IToastStyle
文本大小
getTextSize() - 类 中的方法com.hjq.toast.style.ToastAliPayStyle
 
getTextSize() - 类 中的方法com.hjq.toast.style.ToastBlackStyle
 
getTextSize() - 类 中的方法com.hjq.toast.style.ToastQQStyle
 
getToast() - 类 中的静态方法com.hjq.toast.ToastUtils
获取当前Toast对象
getToastDuration(CharSequence) - 类 中的方法com.hjq.toast.ToastStrategy
根据文本来获取吐司的显示时长
getToastQueue() - 类 中的方法com.hjq.toast.ToastStrategy
获取吐司队列
getVerticalMargin() - 类 中的方法com.hjq.toast.SupportToast
 
getView() - 类 中的方法com.hjq.toast.SupportToast
 
getView() - 类 中的静态方法com.hjq.toast.ToastUtils
获取当前 Toast 的视图
getXOffset() - 接口 中的方法com.hjq.toast.IToastStyle
X轴偏移
getXOffset() - 类 中的方法com.hjq.toast.style.BaseToastStyle
 
getXOffset() - 类 中的方法com.hjq.toast.SupportToast
 
getYOffset() - 接口 中的方法com.hjq.toast.IToastStyle
Y轴偏移
getYOffset() - 类 中的方法com.hjq.toast.style.BaseToastStyle
 
getYOffset() - 类 中的方法com.hjq.toast.style.ToastAliPayStyle
 
getYOffset() - 类 中的方法com.hjq.toast.SupportToast
 
getZ() - 接口 中的方法com.hjq.toast.IToastStyle
吐司 Z 轴坐标
getZ() - 类 中的方法com.hjq.toast.style.BaseToastStyle
 
getZ() - 类 中的方法com.hjq.toast.style.ToastQQStyle
 

H

handleMessage(Message) - 类 中的方法com.hjq.toast.ToastStrategy
 

I

init(Application) - 类 中的静态方法com.hjq.toast.ToastUtils
初始化 ToastUtils,在 Application 中初始化
init(Application, IToastStyle) - 类 中的静态方法com.hjq.toast.ToastUtils
初始化 ToastUtils 及样式
initStyle(IToastStyle) - 类 中的静态方法com.hjq.toast.ToastUtils
初始化全局的Toast样式
intercept(Toast, CharSequence) - 接口 中的方法com.hjq.toast.IToastInterceptor
根据显示的文本决定是否拦截该 Toast
intercept(Toast, CharSequence) - 类 中的方法com.hjq.toast.ToastInterceptor
 
IToastInterceptor - com.hjq.toast中的接口
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2019/05/19 desc : Toast 拦截器接口
IToastStrategy - com.hjq.toast中的接口
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2019/05/19 desc : Toast 处理策略
IToastStyle - com.hjq.toast中的接口
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/09/01 desc : 默认样式接口

L

LONG_DURATION_TIMEOUT - 接口 中的静态变量com.hjq.toast.IToastStrategy
长吐司显示的时长

S

SafeToast - com.hjq.toast中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/12/06 desc : Toast 显示安全处理
SafeToast(Application) - 类 的构造器com.hjq.toast.SafeToast
 
setGravity(int, int, int) - 类 中的方法com.hjq.toast.SupportToast
 
setGravity(int, int, int) - 类 中的静态方法com.hjq.toast.ToastUtils
设置吐司的位置
setMargin(float, float) - 类 中的方法com.hjq.toast.SupportToast
 
setText(CharSequence) - 类 中的方法com.hjq.toast.BaseToast
 
setToast(Toast) - 类 中的静态方法com.hjq.toast.ToastUtils
设置当前Toast对象
setToastInterceptor(IToastInterceptor) - 类 中的静态方法com.hjq.toast.ToastUtils
设置 Toast 拦截器(可以根据显示的内容决定是否拦截这个Toast) 场景:打印 Toast 内容日志、根据 Toast 内容是否包含敏感字来动态切换其他方式显示(这里可以使用我的另外一套框架 XToast)
setToastStrategy(IToastStrategy) - 类 中的静态方法com.hjq.toast.ToastUtils
设置 Toast 显示策略
setView(View) - 类 中的方法com.hjq.toast.BaseToast
 
setView(View) - 类 中的方法com.hjq.toast.SupportToast
 
setView(int) - 类 中的静态方法com.hjq.toast.ToastUtils
给当前Toast设置新的布局,具体实现可看BaseToast.setView(View)
setView(View) - 类 中的静态方法com.hjq.toast.ToastUtils
 
SHORT_DURATION_TIMEOUT - 接口 中的静态变量com.hjq.toast.IToastStrategy
短吐司显示的时长
show(CharSequence) - 接口 中的方法com.hjq.toast.IToastStrategy
显示 Toast
show() - 类 中的方法com.hjq.toast.SupportToast
 
show(CharSequence) - 类 中的方法com.hjq.toast.ToastStrategy
 
show(Object) - 类 中的静态方法com.hjq.toast.ToastUtils
显示一个对象的吐司
show(int) - 类 中的静态方法com.hjq.toast.ToastUtils
显示一个吐司
show(int, Object...) - 类 中的静态方法com.hjq.toast.ToastUtils
显示一个吐司
show(String, Object...) - 类 中的静态方法com.hjq.toast.ToastUtils
显示一个吐司
show(CharSequence) - 类 中的静态方法com.hjq.toast.ToastUtils
显示一个吐司
sp2px(float) - 类 中的方法com.hjq.toast.style.BaseToastStyle
sp转px
SupportToast - com.hjq.toast中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/11/02 desc : Toast 无通知栏权限兼容
SupportToast(Application) - 类 的构造器com.hjq.toast.SupportToast
 

T

ToastAliPayStyle - com.hjq.toast.style中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/12/06 desc : 支付宝样式实现
ToastAliPayStyle(Context) - 类 的构造器com.hjq.toast.style.ToastAliPayStyle
 
ToastBlackStyle - com.hjq.toast.style中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/09/01 desc : 默认黑色样式实现
ToastBlackStyle(Context) - 类 的构造器com.hjq.toast.style.ToastBlackStyle
 
ToastInterceptor - com.hjq.toast中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2019/05/19 desc : Toast 默认拦截器
ToastInterceptor() - 类 的构造器com.hjq.toast.ToastInterceptor
 
ToastQQStyle - com.hjq.toast.style中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/09/01 desc : QQ 样式实现
ToastQQStyle(Context) - 类 的构造器com.hjq.toast.style.ToastQQStyle
 
ToastStrategy - com.hjq.toast中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/11/12 desc : Toast 默认处理器
ToastStrategy() - 类 的构造器com.hjq.toast.ToastStrategy
 
ToastUtils - com.hjq.toast中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/09/01 desc : Toast 工具类
ToastWhiteStyle - com.hjq.toast.style中的类
author : Android 轮子哥 github : https://github.com/getActivity/ToastUtils time : 2018/09/01 desc : 默认白色样式实现
ToastWhiteStyle(Context) - 类 的构造器com.hjq.toast.style.ToastWhiteStyle
 
B C D G H I L S T 
跳过导航链接