Skip to content

Commit 27d25b6

Browse files
committed
Add doc about @receiver Context parameter
1 parent 9209819 commit 27d25b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations

‎AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/Receiver.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
* The annotated method MUST return void and MAY have several parameters:
3333
* </p>
3434
* <ul>
35+
* <li>A {@link android.content.Context} which will be the context given in
36+
* {@code void onReceive(Context context, Intent intent)}</li>
3537
* <li>An {@link android.content.Intent}</li>
3638
* <li>Any native, {@link android.os.Parcelable} or {@link java.io.Serializable}
3739
* parameters annotated with {@link Receiver.Extra} which will be the extra put

0 commit comments

Comments
 (0)