1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 10:19:33 +02:00

synchronization with library-service branch

This commit is contained in:
Nikolay Pultsin 2013-01-14 05:03:16 +04:00
parent 8b9530c36b
commit 42b9345d5a
3 changed files with 30 additions and 32 deletions

View file

@ -70,13 +70,11 @@ public class LibraryService extends Service implements Library.ChangeListener {
System.err.println("LibraryService.onCreate()");
super.onCreate();
myLibrary = new LibraryImplementation();
myLibrary.myBaseLibrary.addChangeListener(this);
}
@Override
public void onDestroy() {
System.err.println("LibraryService.onDestroy()");
myLibrary.myBaseLibrary.removeChangeListener(this);
myLibrary = null;
super.onDestroy();
}