I am new to Android and was working on iOS for the longest time imaginable. Just have a basic question regarding the protocol class. Here is my protocol class in iOS:
#import "ServiceBaseProtocol.h"
#import "ServiceTasksProtocol.h"
@protocol AnswersServiceProtocol <ServiceBaseProtocol>
- (NSUInteger)answersQueryIntentForTarget:(id<ServiceTaskCallbackProtocol>)target requestInput:(NSString*)requestInput;
@end
Is it possible to convert this into equivalent android code. How do I go about the same?
abstractclass or usinginterfacekeyword. Note the two languages are pretty different, you can't directly translate everything from one language to another.