调用Fragment的Activity要继承并实现Fragment.OnFragmentInteractionListener 转载于:https://www.cnblogs.com/punkrocker/p/4503392.html