Hello!
I got an issue when executing the following code:
The “my_table” contains a column of the type “Point”;
EventHandler MyEventHandler= Backendless.Data.of( “my_table” ).rt();
DriversAround.addUpdateListener(whereClause_, new AsyncCallback() {
@Override
public void handleResponse(Map response) {
Point my_point = (Point)response.get("location");
// the above line produce fatel exception: *java.util.HashMap cannot be cast to com.backendless.persistence.Point
//While if I execute the above line in find function (without using updateListener) then it works
}
@Override
public void handleFault(BackendlessFault fault) {
}
});
Tell me, please,
How can I get the Point object correctly inside the UpdateListener -> handleResponse function?