Created
February 21, 2015 00:28
-
-
Save zmillman/82a95309c0831d069833 to your computer and use it in GitHub Desktop.
Can't compile subclass of com.android.volley.Request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GsonRequest < Com::Android::Volley::Request | |
def deliverResponse(response) | |
# listener.onResponse(response) | |
end | |
def parseNetworkResponse(response) | |
# raise "Not implemented" | |
end | |
end | |
# ./build/Development-19/java/com/magoosh/prep/development/GsonRequest.java:4: error: no suitable constructor found for Request(no arguments) | |
# public class GsonRequest extends com.android.volley.Request { | |
# ^ | |
# constructor Request.Request(String,ErrorListener) is not applicable | |
# (actual and formal argument lists differ in length) | |
# constructor Request.Request(int,String,ErrorListener) is not applicable | |
# (actual and formal argument lists differ in length) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment