Book Image

NativeScript for Angular Mobile Development

By : Nathan Walker, Nathanael J. Anderson
Book Image

NativeScript for Angular Mobile Development

By: Nathan Walker, Nathanael J. Anderson

Overview of this book

NativeScript is an open source framework that is built by Progress in order to build truly native mobile apps with TypeScript, JavaScript or just Angular which is an open source framework built by Google that offers declarative templates, dependency injection, and fully featured modules to build rich applications. Angular’s versatile view handling architecture allows your views to be rendered as highly performant UI components native to iOS and Android mobile platforms. This decoupling of the view rendering layer in Angular combined with the power of native APIs with NativeScript have together created the powerful and exciting technology stack of NativeScript for Angular. This book focuses on the key concepts that you will need to know to build a NativeScript for Angular mobile app for iOS and Android. We’ll build a fun multitrack recording studio app, touching on powerful key concepts from both technologies that you may need to know when you start building an app of your own. The structure of the book takes the reader from a void to a deployed app on both the App Store and Google Play, serving as a reference guide and valuable tips/tricks handbook. By the end of this book, you’ll know majority of key concepts needed to build a successful NativeScript for Angular app.
Table of Contents (24 chapters)
Title Page
Credits
Foreword
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
13
Integration Testing with Appium

Multiple item templates with NativeScript's ListView


All throughout Chapter 8, Building an audio recorder, we designed a dual-purpose custom NativeScript Waveform view, which taps into various native libraries for iOS and Android, specifically to enrich our composition's track listing view. Let's proceed by reusing our versatile Waveform view for our track listing view. This will also give us a way to display mixing slider controls (often referred to in audio production and sound engineering as a Fader) alongside our tracks to allow the user to mix each track's volume level in the overall composition. Let's set up our ListView of TrackListComponent with the ability to provide the user with two different ways to view and work with their tracks, each with their own unique utility. While we're at it, we'll also take this opportunity to finally wire up the mute switch on our tracks.

Let's make the following modifications to app/modules/player/components/track-list/track-list.component.html:

&lt...