Using The book with Android Studio


#1

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.


#2

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


#3

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.