@@ -0,0 +1,1307 @@
+/*%0A *   Copyright (C) 2016 Karumi.%0A *   Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *   you may not use this file except in compliance with the License.%0A *   You may obtain a copy of the License at%0A *%0A *   http://www.apache.org/licenses/LICENSE-2.0%0A *%0A *   Unless required by applicable law or agreed to in writing, software%0A *   distributed under the License is distributed on an %22AS IS%22 BASIS,%0A *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A *   See the License for the specific language governing permissions and%0A *   limitations under the License.%0A */%0A%0Apackage com.karumi.todoapiclient;%0A%0Aimport com.karumi.todoapiclient.dto.TaskDto;%0Aimport java.util.List;%0Aimport retrofit2.Call;%0Aimport retrofit2.http.Body;%0Aimport retrofit2.http.DELETE;%0Aimport retrofit2.http.GET;%0Aimport retrofit2.http.POST;%0Aimport retrofit2.http.PUT;%0Aimport retrofit2.http.Path;%0A%0Ainterface TodoService %7B%0A%0A  @GET(%22todos%22) Call%3CList%3CTaskDto%3E%3E getAll();%0A  @GET(%22todos/%7BtaskId%7D%22) Call%3CTaskDto%3E getById(@Path(%22taskId%22) String taskId);%0A  @POST(%22todos%22) Call%3CTaskDto%3E addTask(@Body TaskDto task);%0A  @PUT(%22todos/%7BtaskId%7D%22) Call%3CTaskDto%3E getById(@Path(%22taskId%22) String taskId, @Body TaskDto task);%0A  @DELETE(%22todos/%7BtaskId%7D%22) Call%3CList%3CTaskDto%3E%3E deleteById(@Path(%22taskId%22) String taskId);%0A%0A%7D%0A

Add TodoService to the project. A remote service description we will use in top of retrofit