To implement it, create a new class in your project, choosing the right package: There, paste the code and save it. Now use it in ...

To implement it, create a new class in your project, choosing the right package: There, paste the code and save it. Now use it in ...