原文:http://stackoverflow.com/questions/7149802/how-to-transfer-some-data-to-another-fragment
use a bundle. here's an example:
bundle has put methods for lots of data types. seehttp://developer.android.com/reference/android/os/bundle.html
then in your fragment, retrieve the data (e.g. in oncreate()) with: