title: How to set a Tag to a Fragment in Android
body: <p>I've looked at all the questions on Stackoverflow but could not find a single definitive answer to this question. How do you <strong>set a Tag to a <code>Fragment</code></strong> so that you can retrieve it via <code>getFragmentManager().findFragmentByTag()</code>? Could someone give a simple code example of how to create a tag to a <code>Fragment</code>?</p>