Temporary Fix to return the Layer as a View when Parent is a Layer. 76/139376/3
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)
commit5bba8700a7d412ee441cd1483470ff92c1863b2b
treea738f988443c3c443e460d19d83e3f1fa729ca5f
parentc72d8c9543bcdad7b152b7302e6ca779b60debb3
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
Tizen.NUI/src/public/BaseComponents/View.cs
Tizen.NUI/src/public/BaseHandle.cs
Tizen.NUI/src/public/Window.cs