Tridroid – Android Switch Fragment Demo

I gave a presentation last week at my local Android developers’ meetup group, Tridroid.  The topic of the meeting was fragments. In my presentation, I described a fragment I built to implement simple switches. The figures below show what the demo app looks like.


Usually what I do on this blog is provide a full write-up of how a demo app works. I will do that eventually for this one too, but I am starting with the set of slides and the source code.

Switch Fragment Demo presentation – project structure, layouts, separation of ui and rest of app, fragments versus views.

Source code for Switch Fragment Demo – zip of Eclipse project; runs on Android API level 10 and up.

About Bill Lahti

Bill Lahti is a software engineer building mobile applications and knowledge management solutions. Two of his interests are writing for this blog and building Android apps, with strategy games being an area of particular interest.
This entry was posted in Android and tagged , , , , . Bookmark the permalink.

One Response to Tridroid – Android Switch Fragment Demo

  1. Pingback: More Mobile Enemy in Starship App | More Is Not Always Better

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s