react语法 ReactDOM.render( <h1>Hello, world!</h1>, document.getElementById('example') ); JavaScript 表达式 ReactDOM.render( <div> <h1>{1+1}</h1> </div> , d ...
分类:
其他好文 时间:
2021-06-23 16:46:19
阅读次数:
0
filezilla 3.7.2 处理事件依赖于一个自己封装的事件处理器。名字叫event_loop类。 这个类在libfillezilla工程种。作为filezilla的一个动态库。因为这个处理器对于filezilla十分重要。所以借此机会学习以下。 event_loop 头文件在 libfilez ...
分类:
其他好文 时间:
2021-06-23 16:26:25
阅读次数:
0
import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.os.Build; import android.ut ...
分类:
移动开发 时间:
2021-06-22 17:57:53
阅读次数:
0
今天完成了昨天的初步构想,详细介绍见上一篇博客,具体项目结构和案例如下: MainActivity.java: package com.example.familybooks; import android.os.Bundle; import android.provider.ContactsCon ...
分类:
移动开发 时间:
2021-06-21 20:51:37
阅读次数:
0
目标 格式化输出 格式化符号 f-字符串 print的结束符 输出 作用:程序输出内容给用户 print('hello Python') age = 18 print(age) # 需求:输出“今年我的年龄是18岁” 一. 格式化输出 所谓的格式化输出即按照一定的格式输出内容。 1.1 格式化符号 ...
分类:
其他好文 时间:
2021-06-21 20:50:55
阅读次数:
0
今天在昨天的基础上,相继完成了三个页面的布局和显示情况: 新增加的xml文件如下: activity_add.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android ...
分类:
移动开发 时间:
2021-06-21 20:49:16
阅读次数:
0
Android使用开源的与操作系统无关的SQL数据库——SQLite 一:在命令行下创建数据库: 1.启动模拟器后,打开命令行,执行adb shell 2.进入所在工程目录 3.执行sqlite3 mydb创建数据库文件 :表示结尾,--表示注解 二:包Android.database.sqlite ...
分类:
数据库 时间:
2021-06-21 20:47:00
阅读次数:
0
今天学习了time date组件 <TextClock android:layout_width="wrap_content" android:layout_height="wrap_content" android:format12Hour="MM/dd/yy h:mmaa"/> <TextClo ...
分类:
其他好文 时间:
2021-06-21 20:41:25
阅读次数:
0
#go语言 用go统计字符串中汉字的数量 package main // 声明 main 包,表明当前是一个可执行程序 import ( "fmt" ) func main() { a := 0 s1 := "hello沙河小王子" for _, i := range s1 { if i > 'z' ...
分类:
其他好文 时间:
2021-06-21 20:34:27
阅读次数:
0
1.android的HttpURLConnection发送POST请求 核心代码: PostUtils.java public class PostUtils { public static String LOGIN_URL = "http://172.16.2.54:8080/HttpTest/S ...
分类:
其他好文 时间:
2021-06-21 20:31:45
阅读次数:
0