Raw use of parameterized class 'ArrayAdapter'
Use something like ArrayAdapter<Type> where "Type" is replaced with the actual type used by the ArrayAdapter.
For example:
ArrayAdapter<CharSequence>
As the warning says, this is because ArrayAdapter is generic, so you should specify the type it refers to so that the compiler can check that everything is good at compile time.
You can read more here.