package com.app.simplitend.welcome.welcomepatient.fragments.register;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.navigation.Navigation;

import com.app.simplitend.R;
import com.app.simplitend.databinding.HowToSetUpFragmentBinding;

public class HowToSetUpFragment extends Fragment {

    // view binding
    protected HowToSetUpFragmentBinding binding;

    public HowToSetUpFragment(){
        // required empty const.
    }

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        binding = HowToSetUpFragmentBinding.inflate(inflater, container, false);

        binding.nextBtn.setOnClickListener(v -> Navigation.findNavController(v).navigate(R.id.action_howToSetUpFragment_to_registerFragment));

        return binding.getRoot();
    }
}
