3

What the fuck is happenning with android? Latest AS 3.4.1 and SDK 29(Q+) does not allow normal app compat artifcats for a new project and whole project needs to be developed with androidx.* artifacts.

And their androidx.* artifacts are fucking incomplete: i wanna test recycler view clicks and here i am , fucking myself on how to do so, coz The espresso RecyclerViewActions api is in android.espresso...* package and not androidx.espresso...*
FUCK FUCK FUCK YOU ANDROID WHY DO THIS TO ME WHY WHYWHY!!!!!

Comments
  • 1
    Androidx is just a replacement for appcompat.

    Whoever works at naming these at Google must choke on my cock.

    Meanwhile, espresso resides in androidx.test.espresso.Espresso
  • 0
    @AvyChanna but i can't find Espresso.RecyclerViewActions. don't have my laptop around, but would also check in the package name you said, once i am free.
    As far as the documentation of androidx....Espresso.* goes, that class is not there
  • 0
    Also checked in main docs

    https://developer.android.com/refer...

    Make sure espresso is added to dependencies

    Edit-
    Use androidx.test.espresso.contrib.RecyclerViewActions
  • 1
    @AvyChanna haha that was exactly the case.
    i built a new project, didn't added any extra dependencies and therefore couldn't see the contrib package.
    Thankyou
  • 0
    @TitanLannister Haha, we all make mistakes. Glad I could help. Good luck with your testing
Your Job Suck?
Get a Better Job
Add Comment