Skip to content

Commit

Permalink
moved some stuff around
Browse files Browse the repository at this point in the history
  • Loading branch information
emilsjolander committed Feb 27, 2014
1 parent 46f949d commit e5424c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,6 @@ Any number of calls to any of the above migrations are allowed, if for example `
###Type serializers
Through an instance of `Sprinkles` you can register your own `TypeSerializer` instances via `registerType()` for serializing an object in your model into a column in the database. Sprinkles uses a `TypeSerializer` implementation internally for all the different data types that it supports. So check out the `se.emilsjolander.sprinkles.typeserializers` package for example implementations. These serializers will be used both when saving a model and when querying rows from the database.

###Relationships
Sprinkles does nothing to handle relationships for you; this is by design. You will have to use the regular ways to handle relationships in SQL. Sprinkles gives you all the tools needed for this and it works very well.

###ContentObservers
Sprinkles supports ContentObservers for change notifications. By registering your models for observation you can ensure your ContentObserver will be notified of changes.
```java
Expand All @@ -265,4 +262,7 @@ public void onPause() {
super.onPause();
this.observer.unregister();
}
```
```

###Relationships
Sprinkles does nothing to handle relationships for you; this is by design. You will have to use the regular ways to handle relationships in SQL. Sprinkles gives you all the tools needed for this and it works very well.

0 comments on commit e5424c9

Please sign in to comment.