Martin Fowler
Inversion of Control Containers and the Dependency Injection pattern
[code language=”java”]
setHasOptionsMenu(true);
[/code]
Look at android
Look at the android.com
If the summary has a String formatting marker in it (i.e. “%s” or “%1$s”), then the current entry value will be substituted in its place when it’s retrieved.
Good solution is on stackoverflow.