At school we\'re now learning on how to make fragments more universal by using interfaces.
This technique is still kinda abstract and I don\'t really know when/how to use it.
You can simple create new Android Application project in eclipse.
Then create Android Object (Fragment) with callback methods. This will give you an idea for interfaces.
And then the same you can apply for activity to fragment.