Retrofit2 Paging1 [Android] Retrofit2로 recyclerview 페이징 처리하기 [나중에 참고하기 위해 기록] POST로 요청 시, Request Body 부분을 다음과 같이 한다고 가정한다. { "type": 0 "startidx": 1 "endidx": 40 } 응답으로 예를들어 다음과 같이 온다고 가정한다. { "resultcode": 0, "message": "success", "response": [ { "idx": 1, "title": "hello", "date": "20201201" }, { "idx": 2, "title": "world", "date": "20201202" }, { "idx": 3, "title": "I'm json", "date": "20201203" }, { "idx": 4, "title": "retrofit2", "date": "20201204" .. 2020. 12. 10. 이전 1 다음