handle a list that get itself data from api?
if your data is in JSON format, then use the JsonReader class, open a HttpUrlConnection to the api location, if the connection was successful get the input stream and wrap it around InputStreamReader and then JsonReader, you can then read the JSON tokens, return it as an List and use it to populate ur recyclerview... if you're trying to do some other thing then you'll have to elaborate more on ur question
Обсуждают сегодня