NullPointerException with Fragment Interface Listener
问题 I'm sorry, I'm sure that this will be simple but I just cannot see where I'm going wrong here. I've got a Fragment (a tool list) that can start a number of other fragments (tools) in a two pane set up. There is an activity that sits above & I am using it to manage the removal of tool fragments when their 'close button' is pressed. It then pops a tool from the backstack if one exists. The strange thing is, that I have this working within one fragment but the 'cut & pasted' code into another