https://github.com/Afra55/AndroidBasicFramework/tree/clean
https://github.com/Afra55/AndroidBasicFramework/tree/mvp
- Retrofit http://square.github.io/retrofit/
- Fresco Fresco 文档
- Rxjava Rxjava 文档
-
AppBarLayout,CollapsingToolbarLayout,Toobar 添加应用栏
-
NestedScrollView NestedScrollView
-
NavigationView 创建抽屉式导航栏
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close); drawer.setDrawerListener(toggle); toggle.syncState(); NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view); navigationView.setNavigationItemSelectedListener(this);
-
AppCompatPreferenceActivity 设置
-
NotificationCompat.Builder 通知代码示例