Ok so, I'm currently working on a school project, my app has three tabs in the first and the second one it has two different web views with the webs showing properly and in the third one it has two EditTexts for me to be able to change those webs. The problem comes when I try to find those EditTexts from the fragment and save the url. How could I do it properly?
public class WebpageSetter_Fragment extends Fragment {
EditText direccion1, direccion2;
Button cambiarUrl;
@Nullable
@Override
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
return inflater.inflate(R.layout.set_webpage_fragment, container, false);
}