I'm new and I have this problem
public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
switch(requestCode) {
case (STATIC_INTEGER_VALUE) : {
if (resultCode == Activity.RESULT_OK) {
int tabIndex = data.getIntExtra(PUBLIC_STATIC_STRING_IDENTIFIER);
// TODO Switch tabs using the index.
}
break;
}
}
}
PUBLIC_STATIC_STRING_IDENTIFIER and STATIC_INTEGER_VALUE say me
"PUBLIC_STATIC_STRING_IDENTIFIER cannot be resolved to a variable" and "STATIC_INTEGER_VALUE cannot be resolved to a variable"
I need to import java... shomething?
0 comments:
Post a Comment