Telerik blogs
  • Mobile

    Is This Thing On? (Part 3)

    This is Part 3 of a four part series where we explore some of the tools available to detect and manage online/offline connectivity in web/mobile applications. In Part 1 we looked at the available APIs for detecting connectivity state (and the woes associated with them). In Part 2 we wrote a hand-rolled abstraction to manage using these APIs together and began to see elements of a state machine emerge from the chaos. In this post we're going to drive the state machine stake deeper by exploring how we can keep our FSMs from violating SRP, and set the stage for using multiple FSMs together to model more complex application behavior.
    May 30, 2013