Coder Social home page Coder Social logo

github-search-api-android's Introduction

GitHub-Search-API-Android

GitHub API를 활용하여 리포지터리 검색


작업 상황

  • Material Design Text Fields EditText
  • GitHub Search API 통신 retrofit2
    • 대기 중 progressBar 표시
  • 검색 결과 recyclerView로 표시

GIF

검색결과 O 검색결과 X
Image from Gyazo Image from Gyazo

작업 과정

github-search-api-android's People

Contributors

euzl avatar

Stargazers

 avatar  avatar

Watchers

 avatar

github-search-api-android's Issues

[FEAT] page처리 기능 추가

설명

page기능을 적용하자

TODO

  • page가 많으면 더 받아오기
  • 아래로 스크롤 시 로딩 구현

참고사항

[RERACT] 코드 구조 변경

설명

코드에서 고쳐야 할 부분이 있음

TODO

  • adapter 초기화 위치 변경
  • 검색 api 실행 후 데이터만 교체
  • service에서 callback 위치 변경 ㅎㅎㅎ(error <-> failure 반대로 되어있음)
  • callback 중복으로 호출되는지 확인

참고사항

fix인지 refactor인지 헷갈림..

[UPDATE] 컬리 색상 적용

설명

컬리 색상 적용

TODO

  • colors.xml 에 컬리 색상 추가
  • themes.xml 에 색상 적용
  • edit text 에 material 적용

참고사항

[BUG] api호출에 실패하는 문제

증상

일부 경우에 ('tetris', 'api' 등 검색 시) 다음과 같은 에러가 뜬다.

onError: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 4784 path $.items[0].license

사용자 계정을 검색하면 잘 호출된다.

원인

image
라이센스는 object 형태여야 함 !

TODO

  • 원인 파악
  • 다 잘 호출되도록

스크린샷

[FEAT] 검색 결과 목록으로 표시

설명

#2 에서 받은 결과를 #1recyclerView로 표시한다.

TODO

  • adapter 생성
  • item_layout 생성 (목록에 뭘 표시할 지 정하기)
  • 로딩 시간 -> ProgressBar 표시
  • Toast 메시지 : 몇 건이 조회 됐는지 안내 (0건 => 조회결과가 없습니다.)

참고사항

아이템 클릭은 안 하는 상황으로 가정

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.