第三天敏捷冲刺

1.昨天已经完成的工作

  • 初步完成主页和计划列表界面。
  • 增加了Utils类。

2.今天计划完成的工作

  • 对MainActivity.java中的几个全局变量做了细微更改。
  • 完善了planlist的显示,可以进行展示项目。

3.工作中遇到的困难

  • plan类出现了问题,重构了代码和功能。
  • planlist类也出现了问题,无法录入用户数据。

4.代码签入

5.最新模块的代码

public class Plan {
    String name;   // 计划的名称
    String description;  // 计划的描述
    long workTime;  // 单次学习的时间
    long breakTime;  // 单次休息的时间
    long beginTime;  // 开始时间
    long finishTime;  // 结束时间
    Mould mould;  // 使用的闹铃模板
    ArrayList<Clock> clocks;  // 一组闹钟

    Plan() {
        name = "新计划";
        description = "";
        workTime = 0;
        breakTime = 0;
        beginTime = System.currentTimeMillis();
        finishTime = beginTime;
        mould = new Mould();
        clocks = this.setClocks();
    }

    Clock[] setClocks() {
        // 根据开始时间、结束时间、单次学习时间和单次休息时间设定一定数量的闹钟

        Clock[] clks =
    }

}
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/plan_name"
        android:text="null"
        android:textSize="12dp"
        android:textColor="@color/purple_200">
    </TextView>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/plan_description"
        android:text="null"
        android:textSize="12dp"
        android:textColor="@color/purple_200">
    </TextView>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/plan_start_time"
        android:text="null"
        android:textSize="12dp"
        android:textColor="@color/purple_200">
    </TextView>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/plan_end_time"
        android:text="null"
        android:textSize="12dp"
        android:textColor="@color/purple_200">
    </TextView>
</LinearLayout>

每人每日总结

陈泽同:项目很简单
谢国浩:希望快点搞懂每个模块的功能
韦秋风:项目好难啊啊啊啊啊啊啊啊,不会做

posted @ 2021-11-28 00:11  bbq-carol  阅读(29)  评论(0编辑  收藏  举报