skip to Main Content

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)…

VIEW QUESTION

Android Studio – Android Studio : Plugin with id 'com.google.gms.google-services' not found

Overnight I had this problem. Here is my build_gradle: def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } } def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == null) { throw new GradleException("Flutter…

VIEW QUESTION
Back To Top
Search