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
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Repository navigation
Commit 02e8d75
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/FragmentById.java
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@
42
42
* android:layout_height="match_parent" >
43
43
*
44
44
* <fragment
45
-
* android:id="@+id/myFragment"
45
+
* android:id="@+id/<b>myFragment</b>"
46
46
* android:name="mypackage.MyFragment_"
47
47
* android:layout_width="match_parent"
48
48
* android:layout_height="match_parent" />
@@ -55,21 +55,20 @@
55
55
* // all injected fragment will be the same
56
56
*
57
57
* @FragmentById
58
-
* public MyFragment myFragment;
58
+
* public MyFragment <b>myFragment</b>;
59
59
*
60
-
* @FragmentById(R.id.myFragment)
60
+
* @FragmentById(R.id.<b>myFragment</b>)
61
61
* public MyFragment myFragment2;
62
62
* }
63
63
* </pre>
64
64
*
65
65
* </blockquote>
66
66
*
67
67
* <p>
68
-
* To use the <code>getChildFragmentManager()</code> to inject the Fragment
69
-
* {@link android.app.Fragment Fragment}, set the {@link #childFragment()}
70
-
* annotation parameter to <code>true</code>. You can only do this if the
71
-
* annotated field is in a class which extends {@link android.app.Fragment
72
-
* Fragment} or {@link android.support.v4.app.Fragment support Fragment} and the
68
+
* To use the <code>getChildFragmentManager()</code> to inject the Fragment, set
69
+
* the {@link #childFragment()} annotation parameter to <code>true</code>. You
70
+
* can only do this if the annotated field is in a class which extends
71
+
* android.app.Fragment or support.v4.app.Fragment and the
73
72
* <code>getChildFragmentManager()</code> method is available.
Copy file name to clipboardExpand all lines: AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/FragmentByTag.java
+8-10Lines changed: 8 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@
43
43
*
44
44
* <fragment
45
45
* android:id="@+id/myFragment"
46
-
* android:tag="myFragmentTag"
46
+
* android:tag="<b>myFragmentTag</b>"
47
47
* android:name="mypackage.MyFragment_"
48
48
* android:layout_width="match_parent"
49
49
* android:layout_height="match_parent" />
@@ -56,22 +56,20 @@
56
56
* // all injected fragment will be the same
57
57
*
58
58
* @FragmentByTag
59
-
* public MyFragment myFragmentTag;
59
+
* public MyFragment <b>myFragmentTag</b>;
60
60
*
61
-
* @FragmentByTag("myFragmentTag")
61
+
* @FragmentByTag(<b>"myFragmentTag"</b>)
62
62
* public MyFragment myFragmentTag2;
63
63
* }
64
64
* </pre>
65
65
*
66
66
* </blockquote>
67
-
*
68
-
* *
67
+
*
69
68
* <p>
70
-
* To use the <code>getChildFragmentManager()</code> to inject the Fragment
71
-
* {@link android.app.Fragment Fragment}, set the {@link #childFragment()}
72
-
* annotation parameter to <code>true</code>. You can only do this if the
73
-
* annotated field is in a class which extends {@link android.app.Fragment
74
-
* Fragment} or {@link android.support.v4.app.Fragment support Fragment} and the
69
+
* To use the <code>getChildFragmentManager()</code> to inject the Fragment, set
70
+
* the {@link #childFragment()} annotation parameter to <code>true</code>. You
71
+
* can only do this if the annotated field is in a class which extends
72
+
* android.app.Fragment or support.v4.app.Fragment and the
75
73
* <code>getChildFragmentManager()</code> method is available.
0 commit comments