儿女传奇边城生死恋,朴灿烈我们结婚了,定西孤儿院纪事txt
android中不用再每次都写烦人的toast了,直接调用这个封装好的类,就可以使用了!
/**
* toasttool can make you use toast more easy ;
*
* @author zhanggeng
* @version v1.0.1
* @since jdk5.0
*
*/
import android.content.context;
import android.widget.toast;
public class toasttool {
/**
*
* @param context the class's context , where want to use this tool
* @param message the message will be show
*/
public static void mytoast(context context ,string message){
toast.maketext(context, message, toast.length_short).show();
}
}
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
Android apk 项目一键打包并上传到蒲公英的实现方法
Android 自定义LineLayout实现满屏任意拖动功能的示例代码
android 限制某个操作每天只能操作指定的次数(示例代码详解)
Android 集成 google 登录并获取性别等隐私信息的实现代码
网友评论