A
Sort of. Fragment RecyclerView. You get the data from OkHtp or Retrofit on the basis of what's more comfortable. The data will most likely be in JSON, available in XML, but JSON will be forgiven.Values can be obtained through OkHttpIt's possible. Retrofit (laughs) OkHttp use it. The question is how API is written. If you have a fashionable one there. REST - without Retrofit. If you're bluntly running data down there, it's easier. OkHttp♪ Both have a synchronized type of request and an asynchronous one. There's no difference in the asynchrone. And there, and there's two collbacks for the successful outcome of the request and the prom.Basic data are most likely to come JsonArray♪ If you don't want to have noodles, it's best to turn them straight. ArrayList<YourObjectType>♪ It's easier to do through. GSON library. She's actually used in default. Retrofit♪ You can always do the same. OkHttp♪ You can evaporate standard tools, be a little longer, the result will be the same.Received ArrayList<YourObjectType> Transfer's to the caste aptter RecyclerViewcreating ViewHolder And that's all. http://www.androidhive.info/2016/01/android-working-with-recycler-view/ http://www.vogella.com/tutorials/JavaLibrary-OkHttp/article.html http://www.androidhive.info/2016/05/android-working-with-retrofit-http-library/ And now the most interesting thing. It's worth deciding how the app should know you've got some news. Options 3:(1) The user opens the application - the data are downloaded from the server post.(2) The application has a service that periodically receives data from the server post. Recurrently, either at some specific time or at some point in time. Plus, before the first option, you can throw a Push notice.(3) The application has a service that the skate receives the news. Pros are instant. Minus-- you're gonna have to create a server that's gonna get the data from the website and sew them to all clients involved. And from the minus, it's a hell of a user battery charge.Update Of all the options, I recommend that the first option be made, it still needs it, and it will still be useful. It'll always be good to have the service.Another important thing that has not been taken into account is the need for use. SQLite database to keep the news already open. Otherwise, without the Internet, the application would be completely useless. http://www.vogella.com/tutorials/AndroidServices/article.html http://developer.alexanderklimov.ru/android/sqlite/android-sqlite.php