android - Fragments and Activities -


i have main activity hosting 3 fragments. want pass data activity(which hosts form) 1 of fragment in main activity. main activity uses viewpager host 3 fragments. how possible?

that depends on data want pass, guess packing data bundle instance job. when create intent launch activity, can set arguments on it. , later use arguments when creating fragments.

take @ this(from intent class):

public intent putextra (string name, bundle value)  public bundle getextras () 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -