posts - 609,  comments - 13,  views - 64万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
06 2023 档案
MAUI Blazor获取内存使用情况
摘要:var runTime = Java.Lang.Runtime.GetRuntime(); var maxMemory = runTime.MaxMemory(); var totalMemory = runTime.TotalMemory(); var freeMemory = runTime.F 阅读全文
posted @ 2023-06-30 14:24 邢帅杰 阅读(92) 评论(0) 推荐(0) 编辑
Android 五种方法传参
摘要:1.Intent对象携带简单数据 利用Intent的Extra部分来存储我们想要传递的数据,可以传送int, long, char等一些基础类型,对复杂的对象就无能为力了。//传递些简单的参数Intent intentSimple = new Intent();intentSimple.setCla 阅读全文
posted @ 2023-06-29 15:16 邢帅杰 阅读(546) 评论(0) 推荐(0) 编辑
Android自定义控件/Android自定义组件
摘要:继承现有控件类 public class LeftButtonBar extends LinearLayout { // 默认实现的构造函数 begin public LeftButtonBar(Context context) { super(context); } public LeftButt 阅读全文
posted @ 2023-06-27 09:44 邢帅杰 阅读(20) 评论(0) 推荐(0) 编辑
MAUI Blazor安卓返回键事件,退出app
摘要:参考:https://blog.csdn.net/qq_40912347/article/details/129801231退出app:Android.OS.Process.KillProcess(Android.OS.Process.MyPid());INavigateService using 阅读全文
posted @ 2023-06-14 13:15 邢帅杰 阅读(410) 评论(2) 推荐(0) 编辑
sqlite日期
摘要:SELECT DATE('now'); -- 结果:2023-06-12SELECT DATETIME('now', 'localtime'); -- 结果:2023-06-12 14:12:27,返回当前日期时间;但是返回值不能插入datetime类型的字段,因为此类型字段实际是一个字符串;SEL 阅读全文
posted @ 2023-06-12 14:07 邢帅杰 阅读(22) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示