Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
数値入力を事前に格納された整数と比較する方法を探している単純な Android アプリを作成しています。私の最初は:
if(R.id.number == 123456){ }
この比較は機能しません。私も .equals を試しましたが、役に立ちませんでした。2 つの値を比較する方法について考えている人はいますか?