42
Driver’s notes

Techman - Xamarin experiance on real project

Embed Size (px)

Citation preview

Driver’s notes

What this all about?

Application for employees of service station

• Serves for helping inspector to take car inspection

Contains nice feature like car searching, drawing tool for photos

• Very customizable

“A long time ago in a town far, far away…”

“A long time ago in a town far, far away…”

“A long time ago in a town far, far away…”

“A long time ago in a town far, far away…”

“A long time ago in a town far, far away…”

“A long time ago in a town far, far away…”

“A long time ago in a town far, far away…”

“A long time ago in a town far, far away…”

“A long time ago in a town far, far away…”

“A long time ago in a town far, far away…”

What is going on there?

How did we do that?

TechMan

Xamarin

MvvmCross

… and little bit of magic

Fun with the apples

iOS overview

Make beauty things in easy way

• Do things that you allow to do

Be concern about future changes

Autolayouts

• - Very convenient tool

• - Along with sizeclasses allows

create layout for all devices

• -Not quite easy operate from

code

UITableviews

● Source delegates

● Cell reusing

● Mvvmcross cells

Left menu

- Was rewritten from obj-c to Xamarin

- It’s a simple table with content View

- Contains logic for validation, selection

Memory considerations. Instruments.

Memory considerations. Actions

● Correct way to destroy UIView

● Avoid image low-level operations on runtime

● UIPicker views

Column Layout

● Autolayouts are for noobs

Android

Few words about Android

● Do easy things on compound way

● Markup language

● Activity lifecycle

● Fragments

About devices

● Wide variety android devices and screens

● Dip

● Scale sizes

Memory considerations. Tools

Memory considerations. Actions

● Weird way to clean image

● Activity lifecycles to clean everything up

● Caches

Bitmap loading

● InJustDecodeBounds

● SampleSize

● Mutable bitmaps

Coding style

Coding style

● name conventions

● comments, regions

● logging

Additional features

● UITests

● Insights

Techman testing

iOS

Techman testing

Android

Test analytic

Jira bug tracker

Validation

Memory issue

A lot of photos….. Oops! App Crashes!

Manual testing

Better do automatically….

IOS vs Android

Memory warning Memory warning

Back button on device Minor bugs

Validation issues Validation issues

Scaling for different Android

device

Design migration from IOS

Android IOS

Cute slide from devs

Thanks Oxana!Techman love you! … And we too!

Thanks!