Class UIThreadSwrveResourcesDiffRunnable

  • All Implemented Interfaces:
    SwrveUserResourcesDiffListener, java.lang.Runnable

    public abstract class UIThreadSwrveResourcesDiffRunnable
    extends UIThreadSwrveRunnable
    implements SwrveUserResourcesDiffListener
    This helper class is used to run UI logic to handle the result of Swrve::getUserResourceDiffs() Note: the callback method onResourceDiffsSuccess will be called from the same UI threat than the caller Activity.
    • Constructor Detail

      • UIThreadSwrveResourcesDiffRunnable

        public UIThreadSwrveResourcesDiffRunnable()
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • setData

        public void setData​(java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> oldResourcesValues,
                            java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> newResourcesValues,
                            java.lang.String resourcesAsJSON)