上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 66 下一页
摘要: 布局文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_paren 阅读全文
posted @ 2020-01-08 09:46 SpringCore 阅读(443) 评论(0) 推荐(0) 编辑
摘要: ⒈ 设计视图 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_par 阅读全文
posted @ 2020-01-07 17:30 SpringCore 阅读(225) 评论(0) 推荐(0) 编辑
摘要: ⒈ProgressBar使用 默认 <ProgressBar android:layout_width="match_parent" android:layout_height="wrap_content" style="@android:style/Widget.Material.Progress 阅读全文
posted @ 2020-01-07 16:05 SpringCore 阅读(1492) 评论(0) 推荐(0) 编辑
摘要: ⒈使用 普通使用 AlertDialog.Builder builder = new AlertDialog.Builder(getApplicationContext()); builder.setTitle("请回答:"); builder.setMessage("你觉得蔡徐坤球技如何?"); 阅读全文
posted @ 2020-01-07 14:39 SpringCore 阅读(889) 评论(0) 推荐(0) 编辑
摘要: ⒈用途 Toast是一个消息提示组件 可以设置显示的位置(自己有默认位置) 自定义显示内容(例如:添加一个图片) 简单封装 ⒉使用 默认 Toast.makeText(getApplicationContext(),"",Toast.LENGTH_LONG).show(); 居中弹出 Toast t 阅读全文
posted @ 2020-01-07 10:49 SpringCore 阅读(1386) 评论(0) 推荐(0) 编辑
摘要: ⒈用途 加载网页 加载URL(网络或者本地assets文件夹【这个文件夹下存放着我们不需要编译的资源文件,例如html等不需要编译成二进制代码】下的html文件) 加载html代码 Native和JavaScript相互调用(混合调用) ⒉使用 加载网络URL webview.loadUrl("ht 阅读全文
posted @ 2020-01-07 09:33 SpringCore 阅读(840) 评论(0) 推荐(0) 编辑
摘要: ⒈介绍 RecyclerView能够灵活实现大数据集的展示,视图的复用管理比ListView更好,能够展示列表、网格、瀑布流等形式,且不同的ViewHolder能够实现item多元化的功能。 但是使用起来会稍微麻烦一点,并且没有类似ListView的onItemClickListener监听事件,需 阅读全文
posted @ 2020-01-06 16:02 SpringCore 阅读(399) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="cn.coreqi.helloworld2"> <applicati 阅读全文
posted @ 2020-01-02 11:06 SpringCore 阅读(201) 评论(0) 推荐(0) 编辑
摘要: ⒈KataContainers? Kata Containers是新的虚拟机实现,可以实现和现在容器生态无缝连接,与时下最流行的容器编排工具k8s完美结合,提供容器的快速启动,和虚拟机的安全隔离,与Docker技术相比,容器之间不共用内核,使得隔离性更好。 Kata Containers 项目的主要 阅读全文
posted @ 2019-12-25 15:25 SpringCore 阅读(2989) 评论(0) 推荐(0) 编辑
摘要: Vue的灵活性总是让代码看起来非常洗练,对TypeScript来说也是一种挑战, 好在Vue对TypeScript进行了一次全方位的适配。 相对于React严谨的代码,Redux啰嗦的样板代码,Vue就显得非常灵活。Vue采用双向绑定原理,如下图所示 双向绑定的好处是这样的,在数据发生变化的时候,会 阅读全文
posted @ 2019-12-13 11:40 SpringCore 阅读(1006) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 66 下一页