Created
November 29, 2019 23:35
-
-
Save itsbriany/32b9f1314f81d6f42e7741aba4fbbc3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final void saveActivity(@NotNull final String str) { | |
Intrinsics.checkParameterIsNotNull(str, "activityType"); | |
final String state = this.getState("activity", ""); | |
final StringBuilder sb = new StringBuilder(); | |
sb.append(state); | |
sb.append(str); | |
this.setState("activity", sb.toString()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment