Skip to content
This repository has been archived by the owner on Jan 14, 2018. It is now read-only.

Update starter guide #162

Closed
mcastets opened this issue Jul 17, 2013 · 3 comments
Closed

Update starter guide #162

mcastets opened this issue Jul 17, 2013 · 3 comments
Assignees
Milestone

Comments

@mcastets
Copy link

https://github.com/octo-online/robospice/wiki/Starter-Guide#spice-your-activity-or-fragmen

There's a typo, the letter 't' is missing at the end of fragment

DurationInMillis.NEVER and DurationInMillis.ALWAYS are still used while there are now deprecated.

Also, there's a contradiction when you said:

In the example above, you can see that the third argument passed to the execute() method is the constant DurationInMillis.NEVER. Use this parameter to specify when data will be taken from the cache without invoking retrieval of new data from the network.

Two paragraphs later, you said:

There is also a constant named DurationInMillis.NEVER which means that the data in cache will always be considered expired, regardless of how recent it is. Thus, the SpiceRequest will always perform a network call, and you will never get the data in cache.

@ghost ghost assigned stephanenicolas Jul 17, 2013
@stephanenicolas
Copy link
Owner

Issue has been solved just now. Thanks for this contribution.

@mcastets
Copy link
Author

There's still a mistake here

DurationInMillis.ALWAYS_EXPIRED. Use this parameter to specify when data will be taken from the cache without invoking retrieval of new data from the network.

That should be DurationInMillis.ALWAYS_RETURNED

But, IMHO, I would remove that whole sentence as you repeat it in the next paragraph.

@stephanenicolas
Copy link
Owner

Thanks Mathieu. Documentation has been updated.

2013/7/19 Mathieu Castets [email protected]

There's still a mistake here

DurationInMillis.ALWAYS_EXPIRED. Use this parameter to specify when data
will be taken from the cache without invoking retrieval of new data from
the network.

That should be DurationInMillis.ALWAYS_RETURNED

But, IMHO, I would remove that whole sentence as you repeat it in the next
paragraph.


Reply to this email directly or view it on GitHubhttps://github.com//issues/162#issuecomment-21239635
.

Stéphane NICOLAS,
OCTO Technology
Développeur & Consultant Android / Java
..........................................................
50, Avenue des Champs-Elysées
75008 Paris
+33 (0)6.26.32.34.09
www.octo.com - blog.octo.com
www.usievents.com
...........................................................

ajans pushed a commit to ajans/robospice that referenced this issue Dec 17, 2014
mcesar pushed a commit to project-draco-hr/robospice that referenced this issue Oct 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants