Как объявить переменную в Android
var1 = 'variable1';
var2 = 'variable2';
Santino
var1 = 'variable1';
var2 = 'variable2';
public class MyApplication extends Application {
private String someVariable;
public String getSomeVariable() {
return someVariable;
}
public void setSomeVariable(String someVariable) {
this.someVariable = someVariable;
}
}