上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 35 下一页
摘要: /** * function: 打卡记录 */public static String records(String account) throws SQLException { Connection connection = null; PreparedStatement statement = 阅读全文
posted @ 2024-06-13 15:54 kxzzow 阅读(10) 评论(0) 推荐(0)
摘要: package com.example.myapplication.utils; import java.sql.Connection; import java.sql.DriverManager; /** * function: 数据库工具类,连接数据库用 */ public class JDBC 阅读全文
posted @ 2024-05-07 16:15 kxzzow 阅读(13) 评论(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-05-07 16:12 kxzzow 阅读(5) 评论(0) 推荐(0)
摘要: package com.example.myapplication.dao; import android.util.Log; import com.example.myapplication.entity.User; import com.example.myapplication.utils.J 阅读全文
posted @ 2024-05-07 16:11 kxzzow 阅读(10) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/ap 阅读全文
posted @ 2024-05-07 16:10 kxzzow 阅读(13) 评论(0) 推荐(0)
摘要: MainActivity中使用BottomNavigationView、ViewPager2、Toolbar实现 public class MainActivity extends AppCompatActivity { private BottomNavigationView bottomNavi 阅读全文
posted @ 2024-05-07 16:07 kxzzow 阅读(7) 评论(0) 推荐(0)
摘要: MainActivity的layout <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http:// 阅读全文
posted @ 2024-05-07 16:07 kxzzow 阅读(4) 评论(0) 推荐(0)
摘要: ViewPager2中切换不同fragment,对应导航栏新增日记、个人中心及日记列表。 public class DiariesFragment extends Fragment { private DiariesController mController; @Override public v 阅读全文
posted @ 2024-03-29 23:11 kxzzow 阅读(10) 评论(0) 推荐(0)
摘要: DiariesFragment的layout <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layou 阅读全文
posted @ 2024-03-29 23:11 kxzzow 阅读(5) 评论(0) 推荐(0)
摘要: public class AddDiaryFragment extends Fragment implements View.OnClickListener { private AddDiaryController mController; private View edit_layout; pri 阅读全文
posted @ 2024-03-29 23:10 kxzzow 阅读(13) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 35 下一页