package com.app.simplitend.welcome.welcomecg.fragments;

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.CgHowToSetUpFragmentBinding;

public class CgHowToSetUpFragment extends Fragment {

    // view binding
    protected CgHowToSetUpFragmentBinding binding;

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

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

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

        return binding.getRoot();
    }
}
