From the course: Building Android Apps with Azure

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Add to AzureTableRepo

Add to AzureTableRepo

- [Instructor] The next thing that we want to do is add some items to our Azure table. Before we do that, let's open up AzureTableRepo, and we've changed the interface methods. Now we need to go and fix the AzureTableRepo, because it implements the interface methods that we changed. In IAzureRepo, we removed the Bookmark item from the getItemsFromTable method. So we need to fix that. In our getItemsFromTable method on line 32, let's remove the input parameter Bookmark item. Now let's go back to IAzureRepo. We added another interface method called doSync. Let's go back into AzureTableRepo and let's scroll to the bottom of the file. Insert a new line. Let's press Control + O and let's select doSync and click OK. Now let's scroll up into line 29. Instead of null, let's return bookmark. Let's call insert and pass an item. And let's call the get method. Now let's do a gradle sync. And then let's do a gradle clean. Now we have no more build errors. While we're here, let's also fill in the…

Contents