Forum Xamarin.Forms

Seperating the Xamarin Forms ToDoItemManager into multiple Managers to add some structure

ChrisVardonChrisVardon GBMember ✭✭

My app started off as the 'TodoItem' example app which consisted on a single ToDoItemManager, which defines the MobileServiceSyncTable, syncs the tables in the SyncAsync() method and also consists of methods which are called in the app (for example SaveTodoItem() and GetAllTodoItems()) which consist of CRUD operations on the local tables.

The issue is that this single 'ToDoItemManager' is starting to get a bit messy, because it is getting bigger and bigger every time some new functionality is added. Has anyone had much experience in with dealing with this scenario, and what's the best way to go around separating the Managers, when queries consist of joins with multiple tables.

Sign In or Register to comment.