Working with Views in a Component
I am creating 2 views in a component ....so now how do I decide that which will be the first view visible to the user ...since it appears that always the first one which you create is the first one displayed...how can I change this default behaviour ....
Thanks in Advance.
Create 2 contexts 1 for timer and 1 for progress indicator. Set the delay to 1 sec and bind percentage attribute of the progress indicator to the context created for context.
Increase the timer context by 1 everytime and increase the percentage context to 20 int timer event and once the timer context reaches 5 fire your plug.