Xamarin in Action - Creating native cross-platform mobile apps

Telechargé par Force6 SAV2
MANNING
Jim Bennett
F
OREWORD
BY
James Montemagno
Creating native cross-platform mobile apps
A sneak peak...
By building Xamarin apps using the MVVM design pattern, you too can reuse
80% of your code across iOS and Android.
Picking the right thread...
We all hate mobile apps that are unresponsive. Here’s how to decide what to run
on a background thread.
UI layer
App
layer
UI logic
layer
iOS
C#
Business
logic layer
View
View
model
Model
C#
C#
C#
C#
C#
Android
C#
Binding
Does this
involve the UI?
No
Yes
UI thread
Does this use
external resources
(DB, web)?
No
Yes
Background
thread
Does this take
more than 100 ms
on a slow device?
No
Yes
Background
thread
UI thread or
background
thread
Xamarin in Action
CREATING NATIVE CROSS-PLATFORM
MOBILE APPS
JIM BENNETT
MANNING
SHELTER ISLAND
For online information and ordering of this and other Manning books, please visit
www.manning.com. The publisher offers discounts on this book when ordered in quantity.
For more information, please contact
Special Sales Department
Manning Publications Co.
20 Baldwin Road
PO Box 761
Shelter Island, NY 11964
© 2018 by Manning Publications Co. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
any form or by means electronic, mechanical, photocopying, or otherwise, without prior written
permission of the publisher.
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in the book, and Manning
Publications was aware of a trademark claim, the designations have been printed in initial caps
or all caps.
Recognizing the importance of preserving what has been written, it is Manning’s policy to have
the books we publish printed on acid-free paper, and we exert our best efforts to that end.
Recognizing also our responsibility to conserve the resources of our planet, Manning books
are printed on paper that is at least 15 percent recycled and processed without the use of
elemental chlorine.
Manning Publications Co. Development editor: Elesha Hyde
20 Baldwin Road Review editor: Aleksandar Dragosavljevic´
PO Box 761 Technical development editor: Gary Park
Shelter Island, NY 11964 Project editor: Kevin Sullivan
Copyeditor: Andy Carroll
Proofreader: Corbin Collins
Technical proofreader: Tomasz Cielecki
Typesetter: Dottie Marsico
Illustrator: April Milne
Cover designer: Marija Tudor
ISBN 9781617294389
Printed in the United States of America
12345678910–EBM–232221201918
To the amazing Nat and Evie,
for your unwavering love and support whilst I was glued to my laptop.
1 / 610 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans linterface ou les textes ? Ou savez-vous comment améliorer linterface utilisateur de StudyLib ? Nhésitez pas à envoyer vos suggestions. Cest très important pour nous !