[Google-Desktop-Developer] Task Tracker
I'm starting this new topic because the other one is going beyond the
title.
I've created a task class that allows me to track the time and whether
the task is currently active individually. I'm able to create as many
of these tasks as I want, but I'm having trouble turning them on and
off. I would like to use the pinned state to indicate that a task is
active, but I can't seem to figure out how to use
onToggleItemPinnedState to do this. When I try create my own function
to run whenever the pinned state is changed, the counter only counts
every other second. It's as if this function is running every time the
display is refreshed, which is every second.
Also, items do not stay pinned. I assume this is because the display is
being refreshed, and all of the items are being removed and recreated
each second. I am counting this way because the plugin is based on the
Calendar plugin, which refreshes the display every second to update the
clock in the tile heading. I tried to toggle the pinned state according
to the boolean I have setup in the class, but it appears I cannot call
ToggleItemPinnedState(item).
0 Comments:
Yorum Gönder
<< Home