-1
也放入一個導入 import android.widget.Toast;Toast,找不到的方法
String value = getIntent().getExtras().getString(VALUE);
Context context = this;
CharSequence text = value;
int duration = Toast.LENGTH_LONG;
public Toast T = Toast.makeText(context, text, duration);
T.show(); - this is red and shows an error? does somebody knows what I did wrong?
是*的東西*到'onCreate'(或進入一個方法)移動 – Blackbelt
請告訴我的錯誤? –
黑帶感謝我把它放在創建的地方,這個固定它:) –