Win a copy of Fixing your Scrum this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Create an Uber Clone in 7 Days: Level of expertise?

 
Greenhorn
Posts: 27
Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you going to teach us, @injection and library like OkHttp|Retrofit?

Book looks amazing

thanks!
 
Author
Posts: 32
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. The book uses Codename One which has different abstractions for network. E.g. to invoke a Rest request on the server one would do something like this:



I don't like using annotations and injection for mobile code. The problem with those is two fold:

- They can't be verified by the compiler so you end up with errors in runtime for complex conditions
- Obfuscation usually fails in these cases so you need complex proguard logic

Instead we use a different technique specifically designed to withstand obfuscation while keeping the runtime much smaller. It's nice when an Android app compiles to a 3mb APK instead of 5mb. But when we compile that code to iOS the difference is 15 fold!
 
Space pants. Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic