Event like methods OnSomething() in Tizen classes.
By gtst
23 Aug 2013 07:10
English
1 Replies
Hi,
When subclassing Tizen native classes based on controls, in example Panel. When I reimplement method OnInitializing() do I must to call the base implementation from Panel ?
MyClass::MyClass() : public Tizen::Ui::Controls::Panel
{
}
MyClass::OnInitializing()
{
Panel::OnInitializing(); // this is needed ?
}
Is there any pattern: always call base implementation of all virtual methods beginning with On*, or there is no need to call them ?
Of course this is question only for the base Tizen base classes.
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------