React Native Navigation for Android and IOS.


React Native Navigation 

In React Native there are lot of npm libraries for navigation. Some are only for IOS or Android.

In this we build simple navigation using react navigation.

npm

import packages

 

home page

details page

setting up root page

clip_image002clip_image004

More details about the package-

https://reactnavigation.org/

Advertisements

React Native Mobile Application Development Training Course for Android & IOS.


react-native

 

Introduction

In this section, we make a brief introduction to React Native. We set up machines for all the people that haven’t done that yet. By the end, attendees can create a new project, run it and understand tools available.

– Describe React Native: – Philosophy

– Available platforms

– Available APIs

– Available components

– Bridge

– Prerequisites

– Installation review (show installation instructions)

– Create an app with `react-native init` (mention Expo and Create React Native App command)

– Use `react-native run-ios/android` to run the app

– Describe `react-native-packager`

– Demonstrate `Developer Menu`

– Small exercises to get people familiar

 

Back to JavaScript

In this section, we go through latest ES6/ES7 features that were added, like import / export syntax or fat arrow functions. We also cover basics of React (or just refresh them for people already experienced), like component lifecycle and/or JSX. All these are run and live tested on an app set up in the previous section.

– List all `ES6` and `ES7` features (one per slide, w/o going into details)

– Explain how the code is transpiled

– Explain JSX

– React Component lifecycle

– Open discussion about other features

– A couple of exercises to make everyone comfortable with React / JavaScript

 

Core components

In this section, we cover the basic components, like `<View />` & `<Touchable />`.

– Describe all core components and their `props`

– A couple of exercises based on default `init` template:

– Add few buttons and test out handlers (with `bind` preferably)

– Add a bunch of different `<View />`s

 

Styling

In this section, we, describe `StyleSheet` API, how it implements flexbox and how’s that different from CSS.

– Describe StyleSheet, what are available values, how it works

– Demonstrate `Flexbox`

– Mention that there are UI kits, but we are not going to use them as it’s too advanced for now

– Mention that there are cross-platform styling techniques, like styled-components one can use

– A bunch of exercises to get attendees more familiar with the styling, esp.:

– Flexbox and its properties – implement column/grid layout as presented on a slide

– <Text /> number of lines

 

Navigation

In this section, we demonstrate basic concepts of navigation. We also brief attendees into how’s JS navigation different from fully native one. We list available alternatives as well what we will use throughout today.

– List available navigation solutions

– Brief readers into the one that was selected

– Make them aware of the API and how to think of the route hierarchy

– A couple of exercises working on current `init` template, e.g convert app to a stack, so we can push a new route

 

Lists

In this section, we describe lists and why they are so important in React Native. We describe available alternatives and list how’s `<ScrollView />` different than `<FlatList /> (and <SectionList />)` and when to use each.

– List available scroll solutions

– Explain when to use each

– Describe performance optimizations

– Warn about common pitfalls / issues

– As a demo task, one can create a view that has a list of contacts and each of them can be tapped to move to a new screen (with details)

Cross Platform APIs

We will discuss and implement the most used React Native APIs that work cross platform

IOS specific APIs

We will discuss and implement the most used iOS specific React Native APIs

Android specific APIs

We will discuss and implement the most used Android specific React Native APIs

 

Persistence

In this section, we describe how persistence is done with React Native and how it can be achieved using other technologies.

– Demonstrate persistence using AsyncStorage

– Exercise attendees to persist stuff (literal, more advanced JSON)

– Demonstrate available APIs, like `multiSet` and when it’s better to use what – Mention other tools like `realm`

 

Animations

In this section, we will examine different approaches to animating elements within the app. Specifically, we will check `LayoutAnimation` API and the better – `Animated`. We will briefly talk about performance concerns as well.

– Introduce LayoutAnimation

– Challenge attendees with simple animations – Ask if they feel happy with it?

– Introduce `Animated` as a general solution to the problem

– Encourage them to animate few things on screen

– Perf. wise – mention native driver

 

Working with HTTP, network requests, and accessing restful services

 

Here we look at using both the fetch API as well as Axios for fetching and sending data, and using the returned data to update our application UI.

 

Data Architecture

In this section, we cover both MobX and Redux and talk about how and why they are useful in a React Native app

– Introduce Redux

– Set up a basic redux implementation

– Fetching data and updating our redux store

– Discuss other asynchronous libraries such as Saga and Redux Promise Middleware

 

Application Deployment

In this section, we discuss various settings and configurations that the developer must use and understand to deploy the app to both the Google Play store as well as the Apple App store.

 

For Training Requirement Contact-

udithamail@yahoo.com

udithait@gmail.com

training@bluechiptraining.biz

Mobile +94 0716092918

Xamarin Mobile Application Development Training at Softlogic Holdings Colombo, Sri Lanka


Xamarin

http://www.softlogic.lk/

Recently I did Xamarin Mobile Application Development training at Softlogic Holdings Colombo.

Xamarin

I covered following topics at the training.

https://uditha.wordpress.com/2017/05/11/developing-cross-platform-apps-with-c-using-xamarin-course/

Xamarin

Xamarin

13 Software developers from IT Department attended 4 Days Xamarin training.

Xamarin

For Training Requirement Contact-

udithamail@yahoo.com

udithait@gmail.com

training@bluechiptraining.biz

Mobile +94 0716092918

Azure Machine Learning Data Science workshop at Jakarta, Indonesia.


In partnership with Algoritma Indonesia I will be conducting Azure Machine Learning workshop at Jakarta.

 

Workshop Details-

https://algorit.ma/ds-course/azure-machine-learning-workshop/

 

Introduction to Android Studio 3.0.


I had recorded a youtube video about introduction to Android development in following URL-

 

Machine Learning and AI Workshop at Singapore.


Recently I had conducted  Machine Learning and AI workshop at NetAssist Singapore.  Around 15 attended the workshop. Employees from various IT companies and organizations attended the event.

Topics covered at the workshop-

https://uditha.wordpress.com/2017/11/15/big-data-and-machine-learning-workshop-sri-lanka/

Big Data and Machine Learning March Workshop Sri Lanka.


Few days ago I had conducted the workshop on Big Data and Machine Learning. Around 10 attended the workshop. Employees from APIIT, LB Finance, MAS and Sri Lanka telecom came to the event.

Topic covered at the workshop-

https://uditha.wordpress.com/2017/11/15/big-data-and-machine-learning-workshop-sri-lanka/

Next workshop will be held on June 2018.