Using The book with Android Studio


I’m using the book with Android Studio made on the IntelliJ IDE and I’m having trouble finding where to add SingleFragmentActivity to Fragment activity as a subclass.


In the package alongside of the rest of the crime classes is what I did…


It should work in pretty much the same way. Create a new class called SingleFragmentActivity in the same package as the classes in the book, flesh it out as described in the book, then change CrimeActivity’s superclass to be SingleFragmentActivity.