From 9f0b88bc4d44e3d115ced4b55a4b20283c963458 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 21 Jun 2016 21:37:42 +0700 Subject: [PATCH] Implemented documentation --- ScObserver.md | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/ScObserver.md b/ScObserver.md index 8cf59a8..98b4dd3 100644 --- a/ScObserver.md +++ b/ScObserver.md @@ -7,41 +7,13 @@ For have a complete control of the class changes I can suggest to look into Obse #### Methods -- **boolean isChanged() **
+- **boolean isChanged()**
Check if have some changes and update the current status. - **void exclude(String... methodsName)**
Exclude the methods passed from checking -### Listener -```java - public interface CheckerListener { - - void onSuccess(); - - void onFail(); - - void onChangeState(boolean result); - - } -``` - - -### Overridable methods -Since this class must be extended you can override some methods for your scope. - -- **public void onSuccess()**
-Called on success (when check() methods return true). -- **public void onFail()**
-Called on fail (when check() methods return false). -- **public void onChangeState(boolean result)**
-Called on status change. The result variable contain the check() returned value. - - -### Example -For an example please take a look the demo section in the project structure. - #License
  Copyright 2015 Samuele Carassai