原创 Android之一些常用方法

1、 getActivity():獲得Fragment依附的Activity對象 /** * Return the {@link FragmentActivity} this fragment is currently