Add new `OffsetHint` constants for disabling animations
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- mobile-dev
調査の方向性
CutoutViewIndicator::setOffsetHints(int)、CutoutImageCell、OffsetHint、および既存のメソッド ::justShowTheSelectionsWithoutAnimatingAnything() と ::pleaseGoBackToAnimatingEverything() から着手してください。要求された定数を定義し、便利メソッドの名前と浮動小数点の丸め動作を明確にしてから、この機能が完了したとみなしてください。
索引モデルが issue の本文から書いたものです。
説明
Credits to @agrosner for reporting this.
Currently, the value 0 (the standard 'disabled' value for an integer flag) is accepted by CutoutViewIndicator::setOffsetHints(int). Passing that to the function prevents any sort of offset in CutoutImageCell from working, which in turn prevents the indicator from...well, indicating anything.
To make this more transparent, and simpler for new users of the library, I propose two new OffsetHint constants:
- an explicit constant
STOP_EVERYTHINGwith value 0- this'd disable offset-event visual effects
- well, at least until a different value is set on the indicator
- a constant
ONLY_ROUND_NUMBERSwith value 1 << 4- that'd cause cells to only react to OffsetEvents which return an integer from
::getFraction() - ideally some minor rounding to handle floating-point nonsense
- that'd cause cells to only react to OffsetEvents which return an integer from
Also, a new convenience method or two for setting that second flag: not sure on the name(s), but the should have the same vibe as ::justShowTheSelectionsWithoutAnimatingAnything() and ::pleaseGoBackToAnimatingEverything().
- 主要言語
- Java
- スター
- 21
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ml-opensource/CutoutViewIndicator のほかの issue
-
Update build dependencies for 2019再び着手できるかも @Cliabhach が 2565 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
ml-opensource/CutoutViewIndicator#79 · コメント 1 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
ml-opensource/CutoutViewIndicator#69 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
Design and assign a mobile app icon再び着手できるかも @Cliabhach が 3598 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
ml-opensource/CutoutViewIndicator#58 · コメント 2 件 · 担当者 1 名 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ml-opensource/CutoutViewIndicator#55 · コメント 4 件 ·
ml-opensource/CutoutViewIndicator の issue をすべて見る
似ている issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
devops-thiago/ThrillhouseBot#1132 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
approved bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
checkstyle/checkstyle#21981 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Build: the CUDA backend fails without cuDNN instead of skipping the cuDNN shim (as the cuDF shim does)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
beehive-lab/TornadoVM#1248 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted ready-for-human
難易度 2/5 半日 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信