I haven't found something like setTag(String tagName) method in the Fragment class. The only way to set a Fragment tag that I have found is by doing a FragmentTransaction and passing a tag name as parameter.
Is this the only way to explicitly set a Fragment tag by code?
 
     
     
     
     
     
     
     
     
     
     
     
    