I need help to figure out how to solve an issue on two conflicting imports in my activity namely:
retrofit2.Response
com.android.volley.Response
the first import is meant to help me manage api callback responses while the second is meant to help me manage stringrequest response when uploading files. Implenting one alone i.e just running api calls to get data works fine on its own just like uploading files on their own is fine. Now merging the two in one activity such that when a user selects data from a dropdown whose list is sourced from a server and later upload a file has proved to be very troublesome getting the error:
retrofit2.Response
already defined in single type import
or
com.android.volley.Response
already defined in single type import
depending on which one comes first.