DatabaseHandler.getInstance().removeFeeds(null, feed.getId(), false);
category.getFeeds().remove(feed);
}
private class MyFormatCountDownCallback implements ContextualUndoAdapter.CountDownFormatter {
@Override
<BUG>public String getCountDownString(long millisUntilFinished) {
int seconds = (int) Math.ceil((millisUntilFinished / 1000.0));</BUG>
if (seconds > 0) {
return getResources().getQuantityString(R.plurals.countdown_seconds, seconds, seconds);
}

DatabaseHandler.getInstance().removeFeeds(null, feed.getId(), false);
category.getFeeds().remove(feed);
}
private class MyFormatCountDownCallback implements ContextualUndoAdapter.CountDownFormatter {
@Override
public String getCountDownString(long millisUntilFinished) {
if (getActivity() == null)
{
return "";
}
int seconds = (int) Math.ceil((millisUntilFinished / 1000.0));
if (seconds > 0) {
return getResources().getQuantityString(R.plurals.countdown_seconds, seconds, seconds);
}
