Skip to content

Instantly share code, notes, and snippets.

@lilac
Created November 3, 2015 05:59
Show Gist options
  • Save lilac/ed523ba7806c8e713b35 to your computer and use it in GitHub Desktop.
Save lilac/ed523ba7806c8e713b35 to your computer and use it in GitHub Desktop.
Notes on Android development

Android's bad design

  • Force context object everywhere in the apis, without guaranteeing the context passed is usable, since every context has their own life cycles. This is a problem especially in asynchronous tasks or callbacks. When methods are called asynchronously, the contexts passed in may not be usable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment