Skip to content

Commit 8ac755e

Browse files
committed
使得可以正常导入
1 parent 60348fb commit 8ac755e

File tree

3 files changed

+2
-23
lines changed

3 files changed

+2
-23
lines changed

.idea/caches/build_file_checksums.ser

0 Bytes
Binary file not shown.

app/src/main/java/com/lopez/toast/MainActivity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ public class MainActivity extends Activity {
1313
protected void onCreate(Bundle savedInstanceState) {
1414
super.onCreate(savedInstanceState);
1515
setContentView(R.layout.activity_main);
16-
16+
//也可以在Application中初始化
1717
/*ToastUtils toast = ToastUtils.initToast(this);
1818
toast.setLayout(R.layout.toast_layout_white);*/
1919
}
2020

2121
public void hello(View view) {
2222
//ToastUtils.showToast("你好啊!");
2323
//ToastUtils.showToast(R.string.hi, 1000);
24-
ToastUtils.showToastLong("我很菜呀~");
24+
//ToastUtils.showToastLong("我很菜呀~");
2525
}
2626

2727
}

app/src/main/java/com/lopez/toast/ToastApplication.java

-21
This file was deleted.

0 commit comments

Comments
 (0)