Optimize code Java in activity and long operation

Printable View