From 5b1e6879b2997d530f47a13506f6f5992a1c4365 Mon Sep 17 00:00:00 2001 From: bngsh Date: Thu, 17 Nov 2022 21:05:39 +0900 Subject: [PATCH] =?UTF-8?q?:bug:=20BaseFragment=EC=9D=98=20=EB=9D=BC?= =?UTF-8?q?=EC=9D=B4=ED=94=84=EC=82=AC=EC=9D=B4=ED=81=B4=20=EC=98=A4?= =?UTF-8?q?=EB=84=88=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: yonghanJu --- .../main/java/com/whyranoid/presentation/base/BaseFragment.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/presentation/src/main/java/com/whyranoid/presentation/base/BaseFragment.kt b/presentation/src/main/java/com/whyranoid/presentation/base/BaseFragment.kt index 006fe36a..df689a5a 100644 --- a/presentation/src/main/java/com/whyranoid/presentation/base/BaseFragment.kt +++ b/presentation/src/main/java/com/whyranoid/presentation/base/BaseFragment.kt @@ -21,7 +21,9 @@ internal abstract class BaseFragment( container: ViewGroup?, savedInstanceState: Bundle? ): View? { + super.onCreateView(inflater, container, savedInstanceState) _binding = DataBindingUtil.inflate(inflater, layoutRes, container, false) + binding.lifecycleOwner = viewLifecycleOwner return binding.root }