© 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 
(1)
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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.