Giter Club home page Giter Club logo

praisesreminder's People

Contributors

charcojp avatar

Watchers

 avatar  avatar

praisesreminder's Issues

:bug: 指定したアラーム時刻より後にアプリを起動すると通知が出てしまう

指定したアラーム時刻より後にアプリを起動すると通知が出てしまう

原因

アプリ起動時にnow に対して hour, minute を変更した値をセットしているため
過去日時に対してのアラームになっていると思われる

対応案

ざっと思いつくのは以下
1 の方がスマート

  1. アラームの設定を1度きりにする
  2. now に対して hour, minute を設定した後に過去か判定する。過去の場合は day を +1 する

対応

  • DataStore を導入
  • アラームの設定を1度きりにする
    • DataStore により初期アラーム設定済みかを保持する
    • 初期アラーム設定時、 19 時以降なら翌日のアラームで設定する

初期要望

要望

  • 1日に複数回、褒める内容をメモできる #2
  • 褒める内容は画面遷移せず、入力できる #2
  • 入力した内容はアプリ再起動後も保持されている #4
  • ほめた内容はリスト表示できる #6
  • ほめた内容は日ごとに表示できる #7
  • 褒める内容を思い出したい #14
  • 褒める内容を編集したい #15
  • 褒める内容を削除したい #16

Praise List を sort 出来るといいな

概要

Praise List を sort したい

仕様

  • room で order も保存できるようにする
  • room から取得する際に order 順に取得する
  • RecyclerView を長押しすると位置を入れ替えられるようにする
  • 位置を入れ替えたタイミングで room の order を更新する
  • 新規追加したタイミングでリストを取得し直す

褒めるを入力できるようにしたい

親: #1

概要

褒める内容は画面遷移せず、入力できる

仕様

  • MainActivity 上で褒める内容を入力できる様にする
  • 褒める内容を入力する EditText と 送信 Button を配置する
  • 空の場合は 送信 Button を disabled とする
  • 送信完了後
    • ひとまず、入力内容をどこかに出力する
    • EditText を空にして、フォーカスを外す
    • Keyboard を閉じる

ほめた内容を永続化したい

親: #1

概要

ほめた内容を永続化したい

仕様

  • room に永続化する
  • テーブルは以下とする
    • テーブル名: praise
    • columns:
      • id: 連番(オートインクリメント)
      • content: 内容
      • created_at: 作成日
  • 作成日は now とする

Firebase App Distribution からアプリを更新できない

アプリインストール済みの状態で Firebase App Distribution からアプリを更新しようとすると
installation failed と表示されて、更新できない

ひとまず versionCode を更新してみる

#41 (comment)
署名が異なるため。

  1. debug.keystore を共有する
  2. release.keystroe の設定も行う (ついでなので、App Distribution に配置する apk は release ビルドとする)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.