Book Image

Lightning-Fast Mobile App Development with Galio

By : Alin Gheorghe
Book Image

Lightning-Fast Mobile App Development with Galio

By: Alin Gheorghe

Overview of this book

Galio is a free open source React Native framework that enables beginner-level programmers to quickly build cross-platform mobile apps by leveraging its beautifully designed ready-made components. This book helps you to learn about React Native app development while building impressive out-of-the-box apps with Galio. Lightning Fast Mobile App Development with Galio takes a hands-on approach to implementation and associated methodologies that will have you up and running and productive in no time. Complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions, you will begin by exploring the basics of React Native and understanding how Galio works. As you make progress, you'll learn how to initialize and configure a React Native app and get to grips with the basics of React Native development. You'll also discover how packages work and how to install Galio as the main dependency, along with understanding how and why Galio helps you to develop apps with ease. Finally, you'll build three practical and exciting apps using React Native and Galio. By the end of this app development book, you'll have learned how to use Galio to quickly create layouts and set up React Native projects for your personal ideas.
Table of Contents (14 chapters)

Paginator

The paginator is displayed on the screen by those four small dots. Its main purpose is to show the user which slide they're currently looking at while also displaying a sense of progress. This small component is not that hard to implement, but the features we're going to use to make sure this thing is working correctly are new to us.

One of the most important objects we're going to work with for this component is the Animated object. This is needed because we're looking at animating the width and the opacity of our dots. This is also important because we want to make sure that the animation happens at the right moment. The right moment is, of course, while the user interacts with FlatList. If your finger moves from right to left, we want the animation to also move at the same pace as your finger.

We're also going to use a cool new Hook called useRef. This Hook is used when we need a mutable object that persists for the entire lifetime of your...