[Sugar-devel] sugar-web - API for storing data

Daniel Narvaez dwnarvaez at gmail.com
Fri Aug 16 11:28:13 EDT 2013


On 16 August 2013 17:24, Gonzalo Odiard <gonzalo at laptop.org> wrote:

>
>
> * I think onStart/onPause/onStop should be there in any case.
>> * On the top of those, your current onWrite implementation adds too
>> little to be justified.
>>
>>
> I can't see the difference between  onPause/onStop and onWrite, can you
> explain?
>

Heh, that's my point! There is very little difference. onPause is called
when you switch to some other activity. onStop is called when the activity
is being closed. onWrite is called both by onPause and onStop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130816/23a5d9c5/attachment.html>


More information about the Sugar-devel mailing list