Android Studio – Main Adapter Cannot be Applied to Java List
(list , this)<= this Line Creates Problem. This is my Main Acitivty Code import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import com.example.foodorder.Adapters.MainAdapter; import com.example.foodorder.Models.MainModel; import com.example.foodorder.databinding.ActivityMainBinding; import java.util.ArrayList; import java.util.List; public class MainActivity extends AppCompatActivity { ActivityMainBinding binding; @Override protected void onCreate(Bundle savedInstanceState)…