This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class StethoRealmApplication extends Application { | |
| @Override | |
| public void onCreate() { | |
| super.onCreate(); | |
| Stetho.initialize(Stetho.newInitializerBuilder(this) | |
| .enableDumpapp(Stetho.defaultDumperPluginsProvider(this)) | |
| .enableWebKitInspector(RealmInspectorModulesProvider.builder(this) | |
| .databaseNamePattern(Pattern.compile(".+\\.realm")).build()) | |
| .build()); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| repositories { | |
| maven { url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo' } | |
| } | |
| dependencies { | |
| implementation 'com.uphyca:stetho_realm:2.1.0' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OkHttpClient okHttpClient = new OkHttpClient.Builder() | |
| .readTimeout(60, TimeUnit.SECONDS) | |
| .connectTimeout(60, TimeUnit.SECONDS) | |
| .addNetworkInterceptor(new StethoInterceptor()) | |
| .build(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class StethoDefaultApplication extends Application { | |
| @Override | |
| public void onCreate() { | |
| super.onCreate(); | |
| Stetho.initializeWithDefaults(this); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dependencies { | |
| implementation 'com.facebook.stetho:stetho-okhttp:1.5.0' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dependencies { | |
| implementation 'com.facebook.stetho:stetho-okhttp3:1.5.0' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependency> | |
| <groupid>com.facebook.stetho</groupid> | |
| <artifactid>stetho</artifactid> | |
| <version>1.5.0</version> | |
| </dependency> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dependencies { | |
| implementation 'com.facebook.stetho:stetho:1.5.0' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "parser": "babel-eslint", | |
| "plugins": [ | |
| "react", | |
| "react-native" | |
| ], | |
| "parserOptions": { | |
| "ecmaFeatures": { | |
| "jsx": true, | |
| "modules": true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface DataInfo{ | |
| public void showInfo(); | |
| } | |
| abstract class Siswa implements DataInfo{ | |
| private String nama; | |
| private int nilai; | |
| public Siswa(String nama, int nilai){ | |
| this.nama = nama; |