摘要: !--pages/shopList/shopList.wxml--> <view class="shop-item" wx:for="{{shopList}}" wx:key="id"> <view class="thumb"> <image src="{{item.images[0]}}"></i 阅读全文
posted @ 2024-02-28 15:12 liuxuechao 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 《人月神话》是一本经典的软件工程著作,作者是弗雷德里克·布鲁克斯。这本书首次出版于1975年,至今仍然对软件开发领域产生深远影响。在阅读这本书之后,我对软件工程的挑战和解决方案有了更深入的理解,并获得了许多启发和思考。 首先,书中强调了软件开发的复杂性。布鲁克斯指出,软件开发是一项困难且容易陷入混乱 阅读全文
posted @ 2024-02-28 15:11 liuxuechao 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <!--pages/shopList/shopList.wxml--> <view class="shop-item" wx:for="{{shopList}}" wx:key="id"> <view class="thumb"> <image src="{{item.images[0]}}"></ 阅读全文
posted @ 2024-02-28 15:09 liuxuechao 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 我们在登录之后,某个用户如果要频繁的对自己的信息进行操作,那我们就得想办法在我们创建的所有页面之中都得用到自己某个要素,这个要素在数据库之中也就是主键。 所以我们接下来要用到Session 什么是Session ?当用户请求来自应用程序的 Web页时,服务器会给每一个用户(浏览器)创建一个Sessi 阅读全文
posted @ 2024-02-28 15:07 liuxuechao 阅读(1) 评论(0) 推荐(0) 编辑
摘要: package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.content.ContentValues; import android.database.sqli 阅读全文
posted @ 2024-02-28 15:07 liuxuechao 阅读(55) 评论(0) 推荐(0) 编辑
摘要: package com.example.myapplication; import android.annotation.SuppressLint; import android.database.Cursor; import android.database.sqlite.SQLiteDataba 阅读全文
posted @ 2024-02-28 15:06 liuxuechao 阅读(3) 评论(0) 推荐(0) 编辑
摘要: package com.example.myapplication; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.V 阅读全文
posted @ 2024-02-28 15:05 liuxuechao 阅读(4) 评论(0) 推荐(0) 编辑
摘要: package com.example.myapplication; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.annotation.Sup 阅读全文
posted @ 2024-02-28 15:05 liuxuechao 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ackage com.example.myapplication; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.Vi 阅读全文
posted @ 2024-02-28 15:04 liuxuechao 阅读(2) 评论(0) 推荐(0) 编辑
摘要: package com.example.myapplication; public class costList { private String _id; private String se; private String Title; private String Date; private S 阅读全文
posted @ 2024-02-28 15:04 liuxuechao 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" androi 阅读全文
posted @ 2024-02-28 15:04 liuxuechao 阅读(1) 评论(0) 推荐(0) 编辑
摘要: ?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" a 阅读全文
posted @ 2024-02-28 15:04 liuxuechao 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
posted @ 2024-02-28 15:03 liuxuechao 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" and 阅读全文
posted @ 2024-02-28 15:03 liuxuechao 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/ 阅读全文
posted @ 2024-02-28 15:02 liuxuechao 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 这个视图是一个横向的,所以我们要单独写一个xml文件来放置 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android: 阅读全文
posted @ 2024-02-28 15:02 liuxuechao 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 我们创建一个大数类,数据初始化为0,在我们进入这个页面时就会直接计算出来。 private void initData() { list=new ArrayList<>(); SQLiteDatabase db=helper.getReadableDatabase(); Cursor cursor= 阅读全文
posted @ 2024-02-28 15:02 liuxuechao 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 前我们的查询语句也要进行修改,这里使用的时模糊查询,因为我们传入的是具体某年某月,我们要根据这个来输出账本中有的所有在这个月中的记录。 先在这个页面中取出这个值 Intent intent = getIntent(); month11 = intent.getStringExtra("date"); 阅读全文
posted @ 2024-02-28 15:01 liuxuechao 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 我们开始的页面是我们的所有条目所在的月份,所以我们要设计监听事件,当点击时就会切换到这个月的账单界面。 我们还要将这个月份的值带入下一个页面,然后根据这个值来插寻账本条目。 listView.setOnItemClickListener(new AdapterView.OnItemClickList 阅读全文
posted @ 2024-02-28 15:01 liuxuechao 阅读(2) 评论(0) 推荐(0) 编辑
摘要: query里有很多参数其中 table:数据库表的名称columns:数据库列名称数组 写入后最后返回的Cursor中只能查到这里的列的内容 selection:查询条件 selectionArgs:查询结果groupBy:分组列having:分组条件orderBy:排序列limit:分页查询限制C 阅读全文
posted @ 2024-02-28 15:00 liuxuechao 阅读(2) 评论(0) 推荐(0) 编辑