File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -79,16 +79,16 @@ You will see something like this :
7979As this library is auto-initialize, if you want to get the address log, add the following method and call
8080``` java
8181public static void showDebugDBAddressLogToast(Context context) {
82- if (BuildConfig . DEBUG ) {
83- try {
84- Class<?> debugDB = Class . forName(" com.amitshekhar.DebugDB" );
85- Method getAddressLog = debugDB. getMethod(" getAddressLog" );
86- Object value = getAddressLog. invoke(null );
87- Toast . makeText(context, (String ) value, Toast . LENGTH_LONG ). show();
88- } catch (Exception ignore) {
89-
90- }
91- }
82+ if (BuildConfig . DEBUG ) {
83+ try {
84+ Class<?> debugDB = Class . forName(" com.amitshekhar.DebugDB" );
85+ Method getAddressLog = debugDB. getMethod(" getAddressLog" );
86+ Object value = getAddressLog. invoke(null );
87+ Toast . makeText(context, (String ) value, Toast . LENGTH_LONG ). show();
88+ } catch (Exception ignore) {
89+
90+ }
91+ }
9292}
9393```
9494
You can’t perform that action at this time.
0 commit comments