package me.anky.connectid.data;

import java.util.List;

public class ConnectionsRepository implements ConnectionsDataSource {

    @Override
    public List<ConnectidConnection> getConnections() {
        return null;
    }
}


@@ -26,16 +26,44 @@
 .data;%0A%0A
+import java.util.ArrayList;%0A
 import j
@@ -77,16 +77,16 @@
 l.List;%0A
-
 %0Apublic 
@@ -223,16 +223,17 @@
 ) %7B%0A
+%0A
         
 retu
@@ -232,19 +232,1082 @@
     
-return null
+// Retrieve data from a real database and return it here.%0A        // Because I am having trouble wrapping my head around Loaders%0A        // and ContentProviders in the Model, I am just returning some fake%0A        // data in the List format expected by the Presenter.%0A        // There is something called Room which may do this job better.%0A        // Room deals with something it calls DAOs (database access objects)%0A%0A%0A        List%3CConnectidConnection%3E connections = new ArrayList%3C%3E();%0A        connections.add(new ConnectidConnection(%22Aragorn%22, %22you have my sword%22));%0A        connections.add(new ConnectidConnection(%22Legolas%22, %22and you have my bow%22));%0A        connections.add(new ConnectidConnection(%22Gimli%22, %22and my axe!%22));%0A        connections.add(new ConnectidConnection(%22Gandalf%22, %22fly, you fools!%22));%0A        connections.add(new ConnectidConnection(%22Bilbo%22, %22misses his ring%22));%0A        connections.add(new ConnectidConnection(%22Frodo%22, %22misses his finger%22));%0A        connections.add(new ConnectidConnection(%22Boromir%22, %22one does not simply%22));%0A%0A        return connections
 ;%0A  

Implement MVP on john branch