The same activity cannot implement two methods with the same name from different interfaces. This is well explained here Java - Method name collision in interface implementation
You might want to make separate classes implementing each interface separately and call your methods to read/write to your database from both of them.