Android studio | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Android studio

I need a help plz, casting error coming on my codes and i did not know how to solve that If any one can help me ') The coming message is “ Casting ‘findViewById(R.id.editText)’ to ‘EditText’ is redundant...

29th Mar 2018, 11:43 AM
Remo Ahmed
1 Answer
+ 1
u don't need to cast the views anymore..... it's not an error technically. it just says that u don't need to bother to cast them
29th Mar 2018, 12:01 PM
Farshaad Heydari
Farshaad Heydari - avatar