© Fu Cheng 2018
Fu ChengBuild Mobile Apps with Ionic 4 and Firebasehttps://doi.org/10.1007/978-1-4842-3775-5_5

5. List Stories

Fu Cheng1 
Sandringham, Auckland, New Zealand
Based on the existing blank template code, we start implementing the first user story that lists Hacker News’s top stories. Because this is the first chapter about implementing user stories, some common concepts are introduced in this chapter. We are going to cover the following topics in this long chapter.
  • Use the component ion-list to show top stories and test with Jasmine and Karma.

  • Angular services to load top stories.

  • Firebase basics and Hacker News API.

  • Infinite scrolling and pull-to-refresh in list view.

  • Loading indicators and error handling.

This chapter also shows how to ...

Get Build Mobile Apps with Ionic 4 and Firebase: Hybrid Mobile App Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.