Hi Mark!
So, you basically say there's nothing wrong with storing those references -
great ! Thanks for the clarification.
пятница, 4 января 2013 г., 14:16:10 UTC+4 пользователь Dmitriy F написал:
>
> Correct me if I'm wrong - onStop state destroys view hierarchy of
> activity/fragment. Consequently, views that are referenced through the
> object fields will be retained because of hard references, for example if I
> have such a class:
>
> public class ArticleFragment extends Fragment {
> WebView mWebView;
>
> The webview won't be destroyed.
>
> Am I right in my assumptions ? Should I use weakreferences or findViewById
> ?
>
> Thanks.
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en