package com.example.mysmartlab

import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.RecyclerView
import com.example.mysmartlab.databinding.FragmentPatientCardBinding
import com.example.mysmartlab.databinding.FragmentUserProfileBinding

class UserProfileFragment : Fragment() {

    private val editor: SharedPreferences.Editor =
        (activity as Context).getSharedPreferences("PREFERENCE", AppCompatActivity.MODE_PRIVATE).edit()
    private val prefs: SharedPreferences = (activity as Context).getSharedPreferences("PREFERENCE", AppCompatActivity.MODE_PRIVATE)
    private var _binding: FragmentUserProfileBinding? = null
    private val binding get() = _binding!!
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    }

    override fun onCreateView(
        inflater: LayoutInflater, container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        _binding = FragmentUserProfileBinding.inflate(inflater, container, false)
        return binding.root
    }
}