I have two snippets attached to my activity.
My question is, how do I initialize an element that is in another fragment?
In a fragment, to access the activity I use the code
Textview tv = getActivity().findViewById(R.id.tv);
This works, but to start one that is linked to the fragment and not to activity ???