Almost in every other method in Main and EditPhoto Activities every widget and view were given a reference to (R.id....). It is redundant. Once you create class variables and give them reference in OnCreate, you do not have to do it again in methods (unless you have a reason for that) where you use those widgets or views.
Almost in every other method in Main and EditPhoto Activities every widget and view were given a reference to (R.id....). It is redundant. Once you create class variables and give them reference in OnCreate, you do not have to do it again in methods (unless you have a reason for that) where you use those widgets or views.