Package name 'com.example.mynavigationdrawer.Fragment' part should not start with an uppercase letter

Viewed 16

I am getting the above error message on my Fragment files (line 1)

Below is my code:

package com.example.mynavigationdrawer.Fragment

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.example.mynavigationdrawer.R


class HomeFragment : Fragment() {

    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
                              savedInstanceState: Bundle?): View? {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_home, container, false)
    }
}
0 Answers
Related