Wednesday, February 19, 2014

Find Great God help! Parameter passing problem! !


The main function of the part of the code:
final LinearLayout ll3 = (LinearLayout) findViewById (R.id.linechart3);
LinearLayout tl3 = (LinearLayout) findViewById (R.id.rainll);

final Rain geomark3 = (Rain) findViewById (R.id.geomark_view3);
tl3.setOnClickListener (new OnClickListener () {

@ Override
public void onClick (View v) {
/ / TODO Auto-generated method stub
if (ll3.getVisibility () == 0) {
ll3.setVisibility (View.GONE);
geomark3.setVisibility (View.GONE);
} Else {
ll3.setVisibility (View.VISIBLE);
geomark3.setVisibility (View.VISIBLE);
}

}
});

I want to pass parameters to the Rain
Rain is a public class Rain extends View what form this form of the pass where the pass where it
connected using
I intend to draw a line chart, you need to obtain a user name and other data in order to access the database tables corresponding drawing<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Add a function to set the parameters setXXX not?
Reply:
I like this set up, but always get a null value to help me look at you
Reply:
cited a floor ameyume reply:
setXXX to add a function to set the parameters not?




I like this set up, but always get a null value to help me look at you

No comments:

Post a Comment