If your fragment is not attached to an activity you will get an Null Pointer Exception (NPE) while trying this code; So, the new question is; ...
確定! 回上一頁