fix crash on collecitonView when setting layouter padding (#2960)
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>
Thu, 29 Apr 2021 12:29:33 +0000 (21:29 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 7 May 2021 05:58:58 +0000 (14:58 +0900)
commite8871d47404331adc0b5b36cbdaee1116f2d6a63
tree705c5774dd7af6682c0b2dd574a9a308d6e99fce
parentdfbbb7bd4bb15a82d7c0e879c41c55df23ddc1d8
fix crash on collecitonView when setting layouter padding (#2960)

currently create two collectionView can be aborted while
accessing padding of layouter style.

use "using" keyword as GetViewStyle simply Copy the original
ViewStyle and will be disposed by using keyword,
but it occurs crash as CopyFrom only new the parent and copy
all existing values.
remove using keyward on first step.
src/Tizen.NUI.Components/Controls/RecyclerView/CollectionView.cs