5

I want to develop an android application using Honey Comb 3.0 in which I want to display a list , clicking on any item in a list should display another list beside that list item in the form of Fragment. Can any one provide me sample code in sorting out this issue?

Thanks in Advance,

Nikhil
  • 16,194
  • 20
  • 64
  • 81
Android_programmer_camera
  • 13,197
  • 21
  • 67
  • 81

1 Answers1

6

Have a look at these two blog posts from Google's Reto Meier:

  1. http://blog.radioactiveyak.com/2011/02/android-app-surgery-earthquake-redux.html
  2. http://blog.radioactiveyak.com/2011/02/strategies-for-honeycomb-and-backwards.html

He has lots of code examples in there for handling fragments.

Macarse
  • 91,829
  • 44
  • 175
  • 230
Ollie C
  • 28,313
  • 34
  • 134
  • 217