SaveState 中文文档 Automatically save and restore states of Activities, Fragments and Views. No boilerplate code like onSaveInstanceState or onRestoreInstanceState any more. Getting started Just add the AutoRestore annotation to your fields that need to
SensorAnnotations Annotate methods to use as listeners for sensor events. public class MyActivity extends Activity { /** * Perform actions as accelerometer data changes... */ OnSensorChanged(Sensor.TYPE_ACCELEROMETER) void accelerometerSensorChanged
Droppy A simple yet-customizable Android drop-down menu. It supports Text with/without Icons, Separators, and even fully customized views. Version v.0.6.0 Usage (Maven) com.shehabic.droppy Droppy 0.6.0 Usage (Gradle) compile com.shehabic.droppy:Dro
又一个snackbar控件,但效果更丰富 集成:compile com.nispok:snackbar:2.11. 使用Snackbar.with(getApplicationContext()) // context .text("Single-line snackbar") // text to display .show(this); // activity where it is displayed或// Dismisses the Snackbar bein