Pagingライブラリ利用の例として、国会会議録検索システム検索用APIからデータを取得して表示させています。
Architecture Components:Paging Library - Knowledge Transfer
STAR-ZERO/paging-retrofit-sample: Paging Library + API(Retrofit) Sample
Paging Library + RoomでPagedListの型を変換する – Kenji Abe – Medium
KotlinでRetrofit2/OkHttp3を使ってXMLを取得する - Qiita
Retrofitを使ったAPI呼び出しでリカバリ可能なHTTPエラーをどう扱うか問題 - Qiita
ライセンスに従っての利用・改変は自由ですが、国会会議録検索システム検索用APIの利用規約に従って利用してください。
(「営利目的」には広告の表示や有料アプリも含まれる、との回答を得ています)
Copyright (C) 2018 teracy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.