[Sugar-devel] sugar-web - API for storing data
Gonzalo Odiard
gonzalo at laptop.org
Fri Aug 16 11:39:29 EDT 2013
Ok, we agree.
In the spirit o making the life of activity developers easier, should be
good use onWrite only then.
Gonzalo
On Fri, Aug 16, 2013 at 12:28 PM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
> 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/97a992e0/attachment-0001.html>
More information about the Sugar-devel
mailing list