資源簡介
相關博客:
http://blog.csdn.net/yuzhiqiang_1993/article/details/76152454
http://blog.csdn.net/yuzhiqiang_1993/article/details/75014591
清除fragment頁面數據 fragment手動重新加載布局 解決fragment重疊
代碼片段和文件信息
package?com.example.yzq.testfragment;
import?android.os.Bundle;
import?android.support.annotation.Nullable;
import?android.support.v4.app.Fragment;
import?android.view.LayoutInflater;
import?android.view.View;
import?android.view.ViewGroup;
/**
?*?Created?by?yzq?on?2017/7/15.
?*/
public?class?baseFragment?extends?Fragment?{
????@Override
????public?void?onCreate(@Nullable?Bundle?savedInstanceState)?{
????????L.i(this?+?“onCreate“);
????????super.onCreate(savedInstanceState);
????}
????@Nullable
????@Override
????public?View?onCreateView(LayoutInflater?inflater?@Nullable?ViewGroup?container?@Nullable?Bundle?savedInstanceState)?{
????????L.i(this?+?“onCreateView“);
????????return?super.onCreateView(inflater?container?savedInstanceState);
????}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????127??2017-07-12?09:46??TestFragment\.gitignore
?????文件??????????8??2017-07-12?09:46??TestFragment\app\.gitignore
?????文件???????9214??2017-07-27?18:30??TestFragment\app\app.iml
?????文件????????937??2017-07-27?18:30??TestFragment\app\build.gradle
?????文件????????933??2017-07-12?09:46??TestFragment\app\proguard-rules.pro
?????文件????????832??2017-07-15?15:26??TestFragment\app\src\main\AndroidManifest.xm
?????文件????????920??2017-07-15?12:10??TestFragment\app\src\main\java\com\example\yzq\testfragment\ba
?????文件???????1242??2017-07-27?18:17??TestFragment\app\src\main\java\com\example\yzq\testfragment\DashboardFragment.java
?????文件????????508??2017-07-15?12:10??TestFragment\app\src\main\java\com\example\yzq\testfragment\HomeFragment.java
?????文件????????224??2017-07-12?15:48??TestFragment\app\src\main\java\com\example\yzq\testfragment\L.java
?????文件???????6211??2017-07-27?18:22??TestFragment\app\src\main\java\com\example\yzq\testfragment\MainActivity.java
?????文件????????510??2017-07-15?12:10??TestFragment\app\src\main\java\com\example\yzq\testfragment\NoticeFragment.java
?????文件????????352??2017-07-12?15:14??TestFragment\app\src\main\res\drawable\ic_dashboard_black_24dp.xm
?????文件????????310??2017-07-12?15:14??TestFragment\app\src\main\res\drawable\ic_home_black_24dp.xm
?????文件????????464??2017-07-12?15:14??TestFragment\app\src\main\res\drawable\ic_notifications_black_24dp.xm
?????文件???????1108??2017-07-27?14:43??TestFragment\app\src\main\res\layout\activity_main.xm
?????文件???????3507??2017-07-27?17:49??TestFragment\app\src\main\res\layout\content.xm
?????文件????????584??2017-07-27?17:47??TestFragment\app\src\main\res\layout\fragment_dashboard.xm
?????文件????????544??2017-07-12?16:27??TestFragment\app\src\main\res\layout\fragment_home.xm
?????文件????????548??2017-07-12?16:28??TestFragment\app\src\main\res\layout\fragment_notice.xm
?????文件????????628??2017-07-12?15:29??TestFragment\app\src\main\res\menu\navigation.xm
?????文件????????286??2017-07-27?17:50??TestFragment\app\src\main\res\menu\submit.xm
?????文件???????3418??2017-07-12?09:46??TestFragment\app\src\main\res\mipmap-hdpi\ic_launcher.png
?????文件???????4208??2017-07-12?09:46??TestFragment\app\src\main\res\mipmap-hdpi\ic_launcher_round.png
?????文件???????2206??2017-07-12?09:46??TestFragment\app\src\main\res\mipmap-mdpi\ic_launcher.png
?????文件???????2555??2017-07-12?09:46??TestFragment\app\src\main\res\mipmap-mdpi\ic_launcher_round.png
?????文件???????4842??2017-07-12?09:46??TestFragment\app\src\main\res\mipmap-xhdpi\ic_launcher.png
?????文件???????6114??2017-07-12?09:46??TestFragment\app\src\main\res\mipmap-xhdpi\ic_launcher_round.png
?????文件???????7718??2017-07-12?09:46??TestFragment\app\src\main\res\mipmap-xxhdpi\ic_launcher.png
?????文件??????10056??2017-07-12?09:46??TestFragment\app\src\main\res\mipmap-xxhdpi\ic_launcher_round.png
............此處省略40個文件信息
- 上一篇:太陽能光伏發電系統設計
- 下一篇:Multisim仿真 定時器控制邏輯電路設計
評論
共有 條評論