in my Android App I'm using a single thread executor and every 300 milliseconds I create a new MyRunnable and I call the method execute() of my SingleThreadExecutor. Now my goal is to recycle the Runnable object. But I don't know when and How I can release the Runnable .. CoUld you help me ?
Some other details : My class that implements Runnable is called MyRunnable and inside that there are the method to set and reset the MyRunnable params. Every 300 milliseconds I create new MyRunnable and I set all data before call the execute method.