java - Data transfer in Android -



java - Data transfer in Android -

i'm working on project has multiple stages set thing. in stage one, user provides title, description, , required int value. need 2 things data:

take title, , set actionbar title. not hard means. i've set variable title value stored in on intent, , retrieved in new activity, , set using .settitle(); method on actionbar.

here's 1 need help with...

i need integer value transferred on can utilize number returned sectionspageradapter, when calls getcount(); returns value.

i can value within of same class title value, cannot seem in sectionspageradapter.

any help appreciated!

alternately can extend sectionspageradapter , include setter value or utilize convenience constructor.

something this:

public class custompageradapter extends pageradapter { private int mpagecount; /** * * @param pagecount */ public custompageradapter(int pagecount) { this.mpagecount = pagecount; } @override public int getcount() { homecoming mpagecount; } }

java android android-intent

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -