この作品を働いていない:変数/リソース連結トーストに
Toast.makeText(getApplicationContext(), attemptsRemainingCount.toString(), Toast.LENGTH_LONG).show();
はこの作品:
Toast.makeText(getApplicationContext(), R.string.attemptsRemaining, Toast.LENGTH_LONG).show();
このしかし、動作しません:
Toast.makeText(getApplicationContext(), attemptsRemainingCount.toString() + R.string.attemptsRemaining, Toast.LENGTH_LONG).show();
それは私を与えるすべてがあります長い番号。誰かが私がここの連結で間違っていることを教えてもらえますか?
ああ、意味があります。あなたの提案をありがとう。 :) – BoshJailey