@@ -31,11 +31,11 @@ Feature
3131* :star : don't need to set enum or constant for status code
3232* :star : set the your own onclick logic in custom Callback
3333* :star : no preloaded load page
34- * set the retry onclick listener
3534* allow to cusomize your own load page
36- * thread-safety
35+ * set the retry onclick listener
3736* set the default load page
38- * add muitl load pages
37+ * add multi load pages
38+ * thread-safety
3939
4040How does LoadSir works?
4141---
@@ -56,7 +56,8 @@ compile 'com.kingja.loadsir:loadsir:1.2.0'
5656The are two ways to set config. Add your custom pages and set the default page.
5757
5858* ###### Global Config
59- Set config with singleton pattern, you can do it in your Application, so that you could get this unique LoadSir everywhere.
59+ Set config with singleton pattern, you can do it in your Application. No matter where you do this job,you could get the
60+ unique LoadSir everywhere.
6061
6162``` java
6263public class App extends Application {
@@ -134,7 +135,7 @@ Use it in Fragment is a bit different from the other two, follow the template co
134135@Override
135136public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle
136137 savedInstanceState) {
137- // step 1:obtain get root view
138+ // step 1:obtain root view
138139 rootView = View . inflate(getActivity(), R . layout. fragment_a_content, null );
139140 // step 2:obtain the LoadService
140141 LoadService loadService = LoadSir . getDefault(). register(rootView, new Callback .OnReloadListener () {
0 commit comments