Giter Site home page Giter Site logo

adoption-android's Introduction

Adoption-Android

簡易動物領養瀏覽器,資料來自農委會 OpenData

概要

  • 主要頁面為HomeFragment,提供瀏覽領養動物的照片等資訊,手勢下滑可重新整理。API 每次抓取 20 筆資料,滑到底時觸發 loading more。
  • 點擊 itemView 看詳細資訊,右上角 menu 有 filter 功能
  • DashbordFragment, NotificationFragment 無用處,純粹保留空間給 我的最愛頁面
  • MainViewModel 為 sharedViewModel,目前用來保存 filter

使用架構

MVVM with Repository Pattern

待完成功能

  • AnimalDetailFragment 點擊地址資訊顯示地圖、點擊電話播號
  • AnimalDetailFragment 為參數加上 label 並轉換參數文字,如 性別:母
  • AnimalDetailFragment 提供更多資訊
  • AnimalDetailFragment 點擊照片顯示完整圖片
  • AnimalFilterFragment 加上『清除』按鈕
  • 把文字都放到 string.xml
  • [Optional] AnimalFilterFragment 研究 API 是否支援複選和 not 邏輯
  • [Optional] HomeFragment 可切換為 Grid,只顯示照片並過濾掉沒有照片的動物
  • [Optional] 刪除無用的 Fragment 並加入『我的最愛頁面』

已知 Issue

Dependancy

  • Navigation - Navigation for Fragments
  • Koin - Dependency injection
  • Retrofit - Restful API
  • Coroutine - Asynchronous programming
  • Glide - Image loader
  • TagGroup - Layout of tags

adoption-android's People

Contributors

lutas2000 avatar

Watchers

 avatar

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.