public class ToastUtil {
public void showToast(Context context, int strId) {
Toast.makeText(context, strId, Toast.LENGTH_SHORT).show();
}
public void showToast(Context context, String strId) {
Toast.makeText(context, strId, Toast.LENGTH_SHORT).show();
}
}
AndroidTools,Utils
最新推荐文章于 2023-10-30 12:55:51 发布