Package com.swrve.sdk.runnable
Class UIThreadSwrveResourcesDiffRunnable
- java.lang.Object
-
- com.swrve.sdk.runnable.UIThreadSwrveRunnable
-
- com.swrve.sdk.runnable.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.
-
-
Field Summary
-
Fields inherited from class com.swrve.sdk.runnable.UIThreadSwrveRunnable
exception
-
-
Constructor Summary
Constructors Constructor Description UIThreadSwrveResourcesDiffRunnable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
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)
-
Methods inherited from class com.swrve.sdk.runnable.UIThreadSwrveRunnable
setException
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.swrve.sdk.SwrveUserResourcesDiffListener
onUserResourcesDiffError, onUserResourcesDiffSuccess
-
-
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.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)
-
-