Temporary Fix to return the Layer as a View when Parent is a Layer.
authorUmar <m.umar@partner.samsung.com>
Tue, 18 Jul 2017 13:28:43 +0000 (14:28 +0100)
committerUmar <m.umar@partner.samsung.com>
Thu, 20 Jul 2017 13:30:48 +0000 (14:30 +0100)
commitf4987a3cb4f7046a24d035f69f6e3a793109db00
tree9120dbaa789466c1d925990afc4427874e0a6efd
parente65bca40ed0d142f0b6ed7a4685badcf59483e53
Temporary Fix to return the Layer as a View when Parent is a Layer.

There are three different changes in this patch.
  1: Creating and Returning View if it was a Layer.
  2: Don't register (and unregister) managed object if it is a duplicate copy of existing ref object.
  3: Avoid creating RootLayer managed object multiple times by having global variable in Window class.

Change-Id: I0e0805dd542bbae3f32d7e047bc7792ec37e1d79
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseHandle.cs
src/Tizen.NUI/src/public/Window.cs