2. Topic to be discussed
Memory dump – Thinking beyond memory
Zepline – Collaborate tool for dev. and
designer
React Native – scope and prospect in android
Realm – Best ORM for android
Tricks & Hacks of Android Studio
3. Memory dumps
All allocated
instances
Class definition
Strings
Class names
Field names
Other Strings
4. Use cases
Analyzing source of memory leaks
Help to analyze any crash
Android specific data
Activity Back stack
View hierarchy
10. Still on it……
Memory dump as source of user data
Compact memory dump – BMD
Small size
Relevant info.
Analyze any crash using memory dump
https://techblog.badoo.com/blog/2015/05/26/better-memory-dumps-on-
android/
12. React Native
Mobile version of React.js
Created and maintained by Facebook
First launched & used in iOS in ‘14.
13. Mechanism
JS is loaded on page load and DOM is loaded.
But Native JS work on Virtual DOM in
background.
Minimum steps/operation for updating real
DOM.
14. Why should I care ?
Usual stuff
Support multiple platform , F5, cmd+R also works
😃
Flexbox layout
Lots of JS libraries
Not so usual
write once, run anywhere, Learn once, write
anywhere
15. Android specific
Render native views components
Benefit of JS ecosystem
Over the air updates
Performance
Async calculation of virtual DOM
Common business logic , just write view bundle
separately
16. Not so good
Custom controls
Early stage of development
Ramp up cost
22. Plus points
Cross platform
It support iOS & OS X and Android . So your
business logic remain same.
Advanced Features
Encryption
Graph queries
Migrations+ lots of add-ons for complex UI.
27. Limitation
Still in beta but moving toward 1.0 release.
Threads : Realm objects, queries and results
can’t be passed.
Add 800 KB in application after compiling and
expending.
Despite all these limitation it’s quite promising.
Backstack -> flag with which activity is opened => GC track the backstack
For Amazing gain in memory usages and speed
Bit packing – data structure alignment -> data should be stored in memory address multiple of 4. 14-> alignment fault
Vectorization -> operations are applied to matrices and arrays
Zero-copy -> CPU don’t copy the data from one memory area to other memory area.