Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Farache committed May 7, 2014
1 parent 63224ef commit 54eb796
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* [Use](#use)
* [Asynchronous](#asynchronous)
* [Batch](#batch)
* [Passing complex objects as argument](#passing-complex-objects-as-argument)
* [Non-primitive arguments](#non-primitive-arguments)
* [OrderByComparator](#orderbycomparator)
* [ServiceContext](#servicecontext)

Expand Down Expand Up @@ -280,7 +280,7 @@ batch.setCallback(new BatchAsyncTaskCallback() {

As you can see, the return type is always a `JSONArray`.

#### Passing complex objects as argument
#### Non-primitive arguments

There are some special cases in which service methods arguments are not
primitives. In these cases, you should use `JSONObjectWrapper`, for example:
Expand Down Expand Up @@ -356,4 +356,4 @@ jsonObject.put("addGuestPermissions", true);
JSONObjectWrapper serviceContext = new JSONObjectWrapper(jsonObject);
```

For more examples, take a look at this test case: [ServiceContextTest.java](src/test/java/com/liferay/mobile/sdk/test/portal/ServiceContextTest.java).
For more examples, take a look at this test case: [ServiceContextTest.java](src/test/java/com/liferay/mobile/sdk/test/portal/ServiceContextTest.java).

0 comments on commit 54eb796

Please sign in to comment.