© Fu Cheng 2017

Fu Cheng, Build Mobile Apps with Ionic 2 and Firebase, 10.1007/978-1-4842-2737-4_4

4. List Stories

Fu Cheng

(1)Sandringham, Auckland, New Zealand

Based on the existing sidemenu template code, we start implementing the first user story that lists Hacker News 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 list component to show top stories and test with Jasmine and Karma.

  • Services to load top stories.

  • Firebase basics and Hacker News API.

  • Infinite scrolling and pull-to-refresh.

  • Loading indicators and error handling.

This chapter also shows how to gradually improve the implementation ...

Get Build Mobile Apps with Ionic 2 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.