简体   繁体   中英

Call multiple rest service link at sametime in android

我有android音乐应用,其中有多个部分,例如最新音乐,即将到来的音乐,流行音乐等。我如何在android应用中实现多个休息链接,以开始填写这些部分列表?

Using retrofit or any 3rd party API that supports Rest interface consumption. If your sections are dependent on one another, make the request for next section in call back. Or if not dependent, may be use separate threads to invoke services and in each call back, render the response accordingly on the view. Without code, this is the only help I can provide :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM