Add StatusBar/SystemTray support to WP8/WPA81
Closed this issue · 3 comments
pedrolamas commented
Add StatusBar / SystemTray support to WP8/WPA81
pedrolamas commented
I'm thinking in splitting this in two parts:
- A full
StatusBarBehavior
with bindable properties forBackgroundColor
,ForegroundColor
,Text
,IsVisible
,Opacity
,IsIndeterminate
,Value
- A smaller
IStatusBarService
that matches the following interface:
public interface IStatusBarService
{
Task ShowAsync(string text);
Task ShowAsync(string text, bool isIndeterminate);
Task ShowAsync(string text, double value);
Task HideAsync();
}
This will result in the following scenarios:
- Want to change the default colors and/or opacity of the StatusBar? Add the behavior to the page.
- Want to update the StatusBar with bindings? Add the behavior to the page.
- Want to update the StatusBar without bindings? Use the service.
Comments? :)
ScottIsAFool commented
Sounds good to me.
pedrolamas commented
Service has been added, closing this now as Behavior will probably be done at a later time...