I have a question that can save me and many others many hours. Is there a way I can use the refractor in android studio to change the variable name in only one class? I understand that this is confusing, but I recycle a lot of code between my classes, so when textViewit can be called in one action txt1and I copy and paste it into a new action, it should become txt2, so instead of doing it in a couple thousand lines of code, is there a way that I can change txt1inside ONLY SECOND CLASS to txt2automatically? Thanks everyone!
Ethan source
share