You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/IgnoredWhenDetached.java
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -21,17 +21,22 @@
21
21
importjava.lang.annotation.Target;
22
22
23
23
/**
24
+
* <p>
24
25
* When used standalone in an {@link EFragment} or in conjunction with the
25
26
* {@link UiThread} or {@link Background} annotations, the annotated method will
26
27
* be wrapped in an 'if attached' block such that no code will be executed if
27
28
* the {@link EFragment} is no longer bound to its parent activity.
28
-
* <p/>
29
+
* </p>
30
+
* <p>
29
31
* Should be used on method that must meet the following criteria
30
-
* <p/>
32
+
* </p>
33
+
* <p>
31
34
* 1) Can only be used in conjunction with classes annotated with
32
35
* {@link EFragment}
33
-
* <p/>
36
+
* </p>
37
+
* <p>
34
38
* 2) The annotated method MUST return void and MAY contain parameters.
Copy file name to clipboardExpand all lines: AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/SupposeBackground.java
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,13 @@
23
23
importjava.lang.annotation.Target;
24
24
25
25
/**
26
+
* <p>
26
27
* Ensures that the method is called from the background thread with (optionally) restrictions by allowed serials.
27
28
* If it is not called from a supposed background thread, then {@link IllegalStateException}
Copy file name to clipboardExpand all lines: AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/sharedpreferences/DefaultStringSet.java
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -23,15 +23,19 @@
23
23
importorg.androidannotations.annotations.ResId;
24
24
25
25
/**
26
+
* <p>
26
27
* Use on methods in {@link SharedPref} annotated class. The generated method
27
28
* will return an empty {@link java.util.Set} of Strings by default.
28
-
* <p/>
29
+
* </p>
30
+
* <p>
29
31
* The key of the preference will be the method name by default. This can be
30
32
* overridden by specifying a string resource with the {@link #keyRes()}
31
33
* parameter.
32
-
* <p/>
34
+
* </p>
35
+
* <p>
33
36
* <b>Implementation note:</b>
34
-
* <p/>
37
+
* </p>
38
+
* <p>
35
39
* Since {@code SharedPreferences.getStringSet} is only available from API 11,
36
40
* the generated method serializes the {@code Set<String>} into a {@code String}
37
41
* , and persists it with
@@ -40,6 +44,7 @@
40
44
* From API 11 and up, the generated method simply uses the native
0 commit comments