title: Where do I create and use ScheduledThreadPoolExecutor, TimerTask, or Handler?
body: <p>I need to make my RSS Feed reader check the feed every 10 minutes for new posts, and then parse them if there are new ones. I also need to update the UI about every minute.</p>
  
  <p>I have read and heard different things from various sources. My current understanding is that I can use <code>ScheduledThreadPoolExecutor</code> to make two scheduled threads, and one of them needs a <code>Handler</code> for updating the UI. I am unsure about what the most efficient use of these classes or <code>TimerTask</code>.</p>
  
  <p>I am also very uncertain about where to make subclasses of these. One friend suggested extending <code>TimerTask</code> as an inner class in my <code>FeedParser</code> class to make it simpler. However, to implement it in that way, I have to use the <code>run()</code> method for <code>TimerTask</code> without overriding it, meaning I can't simply use the parameters I need for the functions that need to run.</p>
  
  <p>In short, what is the best way to schedule the tasks for this, and where would I implement these?</p>