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.
ユーザーの回答と正解を見比べてるから
if(etU1.getText().toString().equals(cquestion.get(0).getAnswer()))
たとえば、選択肢が「Brad's Drink」であり、ユーザーが正しく入力しても、getAnswer が「Brad%$'s%# Drink」であるため、間違っています。私が作成した ArrayList は html テキストを取得するためです。配列リストに入れる前にhtmlテキストを削除できる方法はありますか?