MyBus Luleå and Dalarna - new releases

| | Comments (0) | TrackBacks (0)

Did some refactoring to make the code more generic as MyBus Luleå and MyBus Dalarna has a lot in common (was mostly copy paste before). Not fully done but have come a good way to making it fully generic. I have learned a lot about Android programming doing this!

In Dalarna they have a lot of bus stops which made the application slow to start and thus I added a bus stop cache in two levels.

  1. Save the list with all downloaded bus stops to disk and load it on start. Update the list if the bus stop information has changed online.
  2. Pre-populate the cache with a static version of the bus stop list for faster cold-start of the whole application.  

Also added the faster scrolling code in the bus stops selection UI to MyBus Luleå. It was already in the previous version of MyBus Dalarna.

Have fun and please leave a comment and grade it in Market if you use the application. Thanks!

0 TrackBacks

Listed below are links to blogs that reference this entry: MyBus Luleå and Dalarna - new releases.

TrackBack URL for this entry: http://www.parnes.com/mt4/mt-tb.cgi/1228

Leave a comment

Monthly Archives

Pages

Powered by Movable Type 4.34-en

About this Entry

This page contains a single entry by Peter Parnes published on mars 21, 2010 8:16 EM.

Peter on Phone: En packåsna: was the previous entry in this blog.

Peter on Phone: Grattis till Kerstin Ramser som blir docent idag! is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.