File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,29 @@ public class MainApplication extends Application {
142
142
143
143
<h2 >FTS (Full-Text Search)</h2 >
144
144
145
- todo: add documentation
145
+ ``` java
146
+
147
+ ...
148
+
149
+ private SQLiteSimpleFTS simpleFTS;
150
+
151
+ @Override
152
+ public void onCreate(Bundle savedInstanceState) {
153
+ super . onCreate(savedInstanceState);
154
+ simpleFTS = new SQLiteSimpleFTS (this , false ); // second parameter is a tables category,
155
+ // search between several tables
156
+ }
157
+
158
+ @Override
159
+ protected void onDestroy() {
160
+ super . onDestroy();
161
+ simpleFTS. recycle();
162
+ }
163
+
164
+ // That's all! Use methods as described below in appropriate places, like in a example.
165
+ // simpleFTS.search(...), simpleFTS.create(...)
166
+
167
+ ```
146
168
147
169
<h2 >Tools</h2 >
148
170
You can’t perform that action at this time.
0 commit comments