02 2021 档案
摘要:给出关键代码 public void save(View v) throws IOException { //1. 判断sd卡状态, 如果是挂载的状态才继续, 否则提示 if(Environment.getExternalStorageState().equals(Environment.MEDIA
阅读全文
摘要:给出关键代码 public void save(View view) throws IOException { AssetManager manager = getAssets(); InputStream is = manager.open("logo.png"); FileOutputStrea
阅读全文
摘要:给出关键代码 public void save(View view) { //获取Editor SharedPreferences.Editor editor = sp.edit(); //获取key和value String key = keyTextView.getText().toString
阅读全文
摘要:也就是协程 看一个协程的小例子 看到这里就有聪明的小伙伴要问了,那协程怎么调度呢,嘿嘿,下篇分析
阅读全文