/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }
/** * Releases the plug, which means we have to flush all the data and * remove the PlugFilter attr from the context. * * @param context */ private void unplug(final Context context) { if (isPlugged) { flush(); ctx.completeAndRecycle(); isPlugged = false; context.removeLifeCycleListener(this); plugFilter.plugAttr.remove(context); recycle(); } }