I'am using RoomDatabase in my android studio project. And I want to inspect my database with Stetho. I already add it in my build.gradle file, but I don't know where to write the code Stetho.initializeWithDefaults(this);
, to begin inspection. Thanks
You can write the code inside your main app file.
Also you can put it in any activity but if you want to get stetho globally i recommand to put it inside your app file.