I'm trying to use the List.of()
method in one of my Android Studio projects but I'm running into this lint error when writing it:
Call requires API level 30(current min is 21):`java.util.List#of`
Note: I have already found a new solution that I haven't seen in other answers regarding this topic so I'm going to post it below to let others know.