今天学习了Activity的用法和Activity中使用fragment的方法,然后实战做了一下登陆注册功能。遇到困难在找到控件与保存数据方面不太懂。明天做出来完整登陆注册功能。 今天所写做对的登陆和注册功能: package com.example.a15979.shudong;import an ...
分类:
其他好文 时间:
2020-04-22 21:31:54
阅读次数:
92
大概过程 编写demo activity_main.xml activity_result.xml MainActivity.java ResultActivity.java 效果: ...
分类:
其他好文 时间:
2020-04-22 20:10:30
阅读次数:
78
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet ...
分类:
其他好文 时间:
2020-04-22 09:28:17
阅读次数:
63
https://www.cnblogs.com/three3/p/12747652.html 今天写代码数量:package com.example.a15979.shudong;import java.sql.Connection;import java.sql.DriverManager;imp ...
分类:
其他好文 时间:
2020-04-21 21:21:48
阅读次数:
83
问题: 给定一个非负整数,求只交换一次某两位的数字,使得值最大,求该最大值。 Example 1: Input: 2736 Output: 7236 Explanation: Swap the number 2 and the number 7. Example 2: Input: 9973 Out ...
分类:
其他好文 时间:
2020-04-21 15:26:28
阅读次数:
63
java spring boot返回json的写法 (用于写接口) 加了 @RestController 控制器的返回值就会返回json了 package com.example.demo2122; import org.springframework.web.bind.annotation.Get ...
分类:
编程语言 时间:
2020-04-21 14:51:26
阅读次数:
61
从前序与中序遍历序列构造二叉树。题意是给一个二叉树的前序遍历和中序遍历,请根据这两个遍历,把树构造出来。例子, For example, given preorder = [3,9,20,15,7] inorder = [9,3,15,20,7] Return the following binar ...
分类:
其他好文 时间:
2020-04-21 13:31:31
阅读次数:
65
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example:Given binary tree [3 ...
分类:
其他好文 时间:
2020-04-21 09:51:36
阅读次数:
66
统计优美子数组。题意是给你一个整数数组 nums 和一个整数 k。如果某个 连续 子数组中恰好有 k 个奇数数字,我们就认为这个子数组是「优美子数组」。请返回这个数组中「优美子数组」的数目。例子, Example 1: Input: nums = [1,1,2,1,1], k = 3 Output: ...
分类:
其他好文 时间:
2020-04-21 09:47:16
阅读次数:
55
ffuf:Go语言编写的高速Web Fuzzer 0x01 目录发现 0x02 get参数Fuzz GET参数名称模糊测试与目录发现非常相似,通过将FUZZ关键字定义为URL的一部分来工作。对于无效的GET参数名,这里也假设响应大小为4242字节。 如果参数名称已知,则可以以相同方式对值进行模糊测试 ...
分类:
编程语言 时间:
2020-04-20 23:52:07
阅读次数:
120