Coder Social home page Coder Social logo

android-engineer-codecheck's Introduction

android-engineer-codecheck's People

Contributors

blendthink avatar leoando avatar watanavex avatar

Stargazers

 avatar

Watchers

 avatar

android-engineer-codecheck's Issues

プログラム構造をリファクタリング

本プロジェクトは様々な原則に違反しています。下記のリストを参考にプログラムをリファクタリングしましょう。

  • DRY 原則
  • CQS 原則
  • 単一責任原則
  • インターフェイス分離の原則
  • 驚き最小の原則

UI をブラッシュアップ

本アプリの UI は極めてシンプルです。これでも特に問題はありませんが、やはりいまいち映えないです。使いやすさが損なわれない前提で、UI をブラッシュアップしてください。方向性(エレガント、ゴージャス、モダン等)は問いません。また Jetpack Compose の導入も OK です。

アーキテクチャを適用

最近巷では MVC や MVVM などの GUI アーキテクチャから、Redux や VIPER などのアプリアーキテクチャまで様々なアーキテクチャが話題になっています。どれでもいいので本プロジェクトを自分の慣れたアーキテクチャに修正してください。

※本課題は #4 の上位互換です。

ソースコードの安全性の向上

本プロジェクトには安全性の低いがコードたくさんあります。下記のリストを参考に、安全性の低いコードを撲滅し、安全性を高めましょう。

  • 非 null 表明演算子
  • 強制ダウンキャスト
  • 不必要な lateinit 修飾子
  • 想定外の null の握り潰し

軽微なレイアウト調整

https://qiita.com/blendthink/items/aa70b8b3106fb4e3555f#%E7%94%BB%E9%9D%A2%E5%9B%9E%E8%BB%A2%E3%82%84%E7%AB%AF%E6%9C%AB%E3%81%AE%E7%94%BB%E9%9D%A2%E3%82%B5%E3%82%A4%E3%82%BA%E3%83%95%E3%82%A9%E3%83%B3%E3%83%88%E3%82%B5%E3%82%A4%E3%82%BA%E3%83%80%E3%83%BC%E3%82%AF%E3%83%A2%E3%83%BC%E3%83%89%E3%81%AE%E3%81%93%E3%81%A8%E3%82%92%E8%80%83%E3%81%88%E3%81%A6%E3%81%84%E3%82%8B%E3%81%8B
の通りコーディングチェックでは、 画面向きや端末解像度によってのレイアウト崩れのチェックが行われる。

現状、以下の問題があるのでまとめてこのイシューにて対応する。

  • 画面横向きの時に詳細画面のレイアウトが見切れる。

バグを修正

本プロジェクトには、至る所にバグが潜んでいます。下記のリストを参考にバグを修正してください。

  • レイアウトエラー
  • メモリリーク
  • パースエラー
  • 例外の処理漏れ
  • クラッシュ

READMEの更新

開発環境などの情報を書きたい。
アーキテクチャなどの変更が入りやすい内容に関しては、Wikiにまとめてリンクを入れる。

テストを追加

現在のプログラムではテストがありません。UnitTest や UITest を追加してください。

新機能を追加

本アプリの機能は極めて単純です。使いやすさが損なわれない前提で、様々な新機能を追加してあげてください。

Fat Fragment の回避

本プロジェクトは Fragment が必要以上の責務を抱えており、いわゆる Fat Fragment 状態です。最低限の責務の切り出しをしてあげましょう。

※本課題は #6 の下位互換です。

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.