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 – MobileElement not exist in java-client 8.0.0

I can't find a way to import MobileElement for code I copy after following this guide: https://www.youtube.com/watch?v=i1tQ1pjEFWw&t=1915s&ab_channel=edureka%21 in Appium for testing Android. import org.openqa.selenium.remote.DesiredCapabilities; import io.appium.java_client.MobileElement; public class Test { public static void main(String args[]){ MobileElement el3 = (MobileElement) driver.findElementById("com.example.calculator:id/button2");…

VIEW QUESTION
Back To Top
Search