上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 202 下一页
摘要: 一,创建application 代码: package com.example.okdemo1; import android.app.Application; import android.content.res.Configuration; import androidx.annotation. 阅读全文
posted @ 2025-05-17 08:19 刘宏缔的架构森林 阅读(76) 评论(0) 推荐(0)
摘要: 一,代码: <?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/an 阅读全文
posted @ 2025-05-17 08:18 刘宏缔的架构森林 阅读(48) 评论(0) 推荐(0)
摘要: 一,代码: <?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/an 阅读全文
posted @ 2025-05-17 08:18 刘宏缔的架构森林 阅读(455) 评论(0) 推荐(0)
摘要: 一,代码: <?xml version="1.0" encoding="utf-8"?> <GridLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent 阅读全文
posted @ 2025-05-17 08:18 刘宏缔的架构森林 阅读(77) 评论(0) 推荐(0)
摘要: 一,代码: xml: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res 阅读全文
posted @ 2025-05-17 08:16 刘宏缔的架构森林 阅读(45) 评论(0) 推荐(0)
摘要: 一,安装第三方库: 地址: https://mvnrepository.com/artifact/com.google.code.gson/gson build.gradle中dependencies添加: implementation 'com.google.code.gson:gson:2.13 阅读全文
posted @ 2025-05-10 09:06 刘宏缔的架构森林 阅读(49) 评论(0) 推荐(0)
摘要: 一,代码: xml <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/ 阅读全文
posted @ 2025-05-10 09:05 刘宏缔的架构森林 阅读(66) 评论(0) 推荐(0)
摘要: 一,代码: xml: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res 阅读全文
posted @ 2025-05-10 09:05 刘宏缔的架构森林 阅读(125) 评论(0) 推荐(0)
摘要: 一,代码: xml: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res 阅读全文
posted @ 2025-05-10 09:05 刘宏缔的架构森林 阅读(81) 评论(0) 推荐(0)
摘要: 一,代码: gson库安装方式见我其他博文 传递对象的类: package com.example.okdemo1.model; public class Goods1 { //商品id private int id; //商品名称 private String name; public Goods 阅读全文
posted @ 2025-05-10 09:05 刘宏缔的架构森林 阅读(26) 评论(0) 推荐(0)
上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 202 下一页