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:
parent
8b9530c36b
commit
42b9345d5a
3 changed files with 30 additions and 32 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue