android - What is the R.id.realtabcontent in FragmentTabHost example? -


looking documentation fragmenttabhost see r.id.realtabcontent in:

 mtabhost.setup(this, getsupportfragmentmanager(), r.id.realtabcontent); 

just don't uderstand did come , shall use. hint in advance.

public void setup (context context, fragmentmanager manager, int containerid) 

thats container view. if don't understand it. try make linearlayout , put indicator in it, follow example understand better. in fact, constor exist without container :

public void setup (context context, fragmentmanager manager) 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -