Loader(加载器)的使用

加载器: Android 3.0 中引入了加载器,支持轻松在Activity或者片段中异步加载数据。

加载器的特征:

  • 可用于每个 ActivityFragment
  • 支持异步加载数据。
  • 监控其数据源并在内容变化时传递新的结果。
  • 在某一配置更改后重建加载器时,会自动重新连接上一个加载器的游标。 因此,它们无需重新查询其数据。

好了,加载器的基本介绍就到这里,下面是本文的参考博客和资料链接。

下面就以两个例子的代码对加载器来进行说明。
例子一,用listView显示通话记录。其主要源码代参考博客,具体移步去参考。这里我就直接贴代码了。

activity的布局文件:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:tools="http://schemas.android.com/tools"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                tools:context=".MainActivity" >

    <TextView
        android:id="@+id/tv_text"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="学习加载其的使用" />

    <Button
        android:id="@+id/btn_all"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/tv_text"
        android:text="所有通话记录" />

    <Button
        android:id="@+id/btn_incoming"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/tv_text"
        android:layout_marginLeft="20dp"
        android:layout_toRightOf="@id/btn_all"
        android:text="拨入记录" />

    <Button
        android:id="@+id/btn_outcoming"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/btn_all"
        android:layout_marginTop="10dp"
        android:text="播出记录" />

    <Button
        android:id="@+id/btn_missed"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@id/btn_incoming"
        android:layout_below="@id/btn_all"
        android:layout_marginTop="10dp"
        android:layout_toRightOf="@id/btn_outcoming"
        android:text="未接记录" />
    <Button
        android:layout_below="@id/btn_all"
        android:layout_toRightOf="@id/btn_missed"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:onClick="nextView"
        android:text="简单版示例"/>

    <View
        android:id="@+id/line_layout"
        android:layout_width="match_parent"
        android:layout_height="2dp"
        android:layout_below="@id/btn_missed"
        android:background="#000000" >
    </View>

    <ListView
        android:id="@+id/lv_list"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@id/line_layout"
        android:clipToPadding="false"
        android:divider="#ff553311"
        android:dividerHeight="2dp"
        android:fadingEdge="none"
        android:paddingTop="10dp" />

</RelativeLayout>

listView的子布局文件,item_load.xml

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="match_parent" >

    <ImageView
        android:id="@+id/bt_icon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginLeft="10dp"
        android:background="#00000000"
        android:contentDescription="yi"
        android:src="@drawable/ic_playlist_play_black_24dp" />

    <TextView
        android:id="@+id/tv_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="2dp"
        android:layout_toRightOf="@id/bt_icon"
        android:textSize="23sp" />

    <TextView
        android:id="@+id/tv_number"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@id/tv_name"
        android:layout_below="@id/tv_name"
        android:layout_marginBottom="2dp"
        android:textColor="#7f7f7f"
        android:textSize="16sp" />

    <TextView
        android:id="@+id/tv_date"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignTop="@id/tv_number"
        android:layout_marginLeft="10dp"
        android:layout_toRightOf="@id/tv_number"
        android:ellipsize="end"
        android:textColor="#7f7f7f"
        android:textSize="16sp" />

    <ImageButton
        android:id="@+id/btn_delete"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentRight="true"
        android:layout_centerVertical="true"
        android:layout_marginRight="10dp"
        android:background="#00000000"
        android:contentDescription="er"
        android:focusableInTouchMode="false"
        android:src="@drawable/ic_delete_forever_black_24dp" />

    <ImageButton
        android:id="@+id/btn_call"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginRight="5dp"
        android:layout_toLeftOf="@id/btn_delete"
        android:background="#00000000"
        android:contentDescription="san"
        android:focusableInTouchMode="false"
        android:src="@mipmap/ic_launcher" />
</RelativeLayout>

activity的源代码:

package reoger.hut.openfiretest.activty;

import android.Manifest;
import android.content.CursorLoader;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.CallLog;
import android.support.v4.app.ActivityCompat;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.ListView;

import reoger.hut.openfiretest.R;

public class TestLoaderActivity extends AppCompatActivity implements View.OnClickListener {

    private static final String[] CALLLOG_PROJECTION = new String[]{
            CallLog.Calls._ID, CallLog.Calls.NUMBER, CallLog.Calls.CACHED_NAME,
            CallLog.Calls.TYPE, CallLog.Calls.DATE};


    private ListView mListView;
    private MyCursorAdapter mAdapter;

    private MyLoaderListener mLoader = new MyLoaderListener();


    private static final int ALL = 0; // 默认显示所有
    private static final int INCOMING = CallLog.Calls.INCOMING_TYPE; // 来电
    private static final int OUTCOMING = CallLog.Calls.OUTGOING_TYPE; // 拔号
    private static final int MISSED = CallLog.Calls.MISSED_TYPE; // 未接


    private int mCallLogShowType = ALL;
    private boolean m_FinishLoaderFlag = false; // 第一次加载完成

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_loader);
        initWidgets();

        getLoaderManager().initLoader(0, null, mLoader);
    }

    private void initWidgets() {
        mListView = (ListView) findViewById(R.id.lv_list);
        Button btn = (Button) findViewById(R.id.btn_all);
        btn.setOnClickListener(this);
        btn = (Button) findViewById(R.id.btn_incoming);
        btn.setOnClickListener(this);
        btn = (Button) findViewById(R.id.btn_outcoming);
        btn.setOnClickListener(this);
        btn = (Button) findViewById(R.id.btn_missed);
        btn.setOnClickListener(this);
        mAdapter = new MyCursorAdapter(TestLoaderActivity.this, null);
        mListView.setAdapter(mAdapter);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_all:
                allCalllog();
                break;
            case R.id.btn_incoming:
                incomingCalllog();
                break;
            case R.id.btn_outcoming:
                outcomingCalllog();
                break;
            case R.id.btn_missed:
                missedCalllog();
                break;
            default:
                break;
        }
    }

    private void missedCalllog() {
        mCallLogShowType = MISSED;
        String selection = CallLog.Calls.TYPE + "=?";
        String[] selectionArgs = new String[]{"3"};
        if (ActivityCompat.checkSelfPermission(this, Manifest.permission.READ_CALL_LOG) != PackageManager.PERMISSION_GRANTED) {
            return;
        }
        Cursor missedCursor = getContentResolver().query(
                CallLog.Calls.CONTENT_URI, CALLLOG_PROJECTION, selection,
                selectionArgs, CallLog.Calls.DEFAULT_SORT_ORDER);
        mAdapter.swapCursor(missedCursor);
    }

    private void allCalllog() {
        mCallLogShowType = ALL;
        String selection = null;
        String[] selectionArgs = null;
        if (ActivityCompat.checkSelfPermission(this, Manifest.permission.READ_CALL_LOG) != PackageManager.PERMISSION_GRANTED) {
            return;
        }
        Cursor allCursor = getContentResolver().query(
                CallLog.Calls.CONTENT_URI, CALLLOG_PROJECTION, selection,
                selectionArgs, CallLog.Calls.DEFAULT_SORT_ORDER);
        mAdapter.swapCursor(allCursor);
    }

    private void incomingCalllog() {
        mCallLogShowType = INCOMING;
        String selection = CallLog.Calls.TYPE + "=?";
        String[] selectionArgs = new String[]{"1"};
        if (ActivityCompat.checkSelfPermission(this, Manifest.permission.READ_CALL_LOG) != PackageManager.PERMISSION_GRANTED) {
            return;
        }
        Cursor incomingCursor = getContentResolver().query(
                CallLog.Calls.CONTENT_URI, CALLLOG_PROJECTION, selection,
                selectionArgs, CallLog.Calls.DEFAULT_SORT_ORDER);
        mAdapter.swapCursor(incomingCursor);
    }


    private void outcomingCalllog() {
        mCallLogShowType = OUTCOMING;
        String selection = CallLog.Calls.TYPE + "=?";
        String[] selectionArgs = new String[]{"2"};
        if (ActivityCompat.checkSelfPermission(this, Manifest.permission.READ_CALL_LOG) != PackageManager.PERMISSION_GRANTED) {
            return;
        }
        Cursor outcomingCursor = getContentResolver().query(
                CallLog.Calls.CONTENT_URI, CALLLOG_PROJECTION, selection,
                selectionArgs, CallLog.Calls.DEFAULT_SORT_ORDER);
        mAdapter.swapCursor(outcomingCursor);
    }


    private class MyLoaderListener implements android.app.LoaderManager.LoaderCallbacks<Cursor> {

        @Override
        public android.content.Loader<Cursor> onCreateLoader(int id, Bundle args) {
            m_FinishLoaderFlag = false;
            CursorLoader cursor = new CursorLoader(TestLoaderActivity.this,
                    CallLog.Calls.CONTENT_URI, CALLLOG_PROJECTION, null, null,
                    CallLog.Calls.DEFAULT_SORT_ORDER);

            return cursor;
        }

        @Override
        public void onLoadFinished(android.content.Loader<Cursor> loader, Cursor data) {
            if (data == null)
                return;
            Cursor tempData = data;
            if (tempData.getCount() == 0) {
                mAdapter.swapCursor(null);
                return;
            }

            if (m_FinishLoaderFlag) {
                tempData = null;
                String selection = null;
                String[] selectionArgs = null;
                if (mCallLogShowType == INCOMING) {
                    selection = CallLog.Calls.TYPE + "=?";
                    selectionArgs = new String[]{"1"};
                } else if (mCallLogShowType == OUTCOMING) {
                    selection = CallLog.Calls.TYPE + "=?";
                    selectionArgs = new String[]{"2"};
                } else if (mCallLogShowType == MISSED) {
                    selection = CallLog.Calls.TYPE + "=?";
                    selectionArgs = new String[]{"3"};
                }

                if (ActivityCompat.checkSelfPermission(TestLoaderActivity.this, Manifest.permission.READ_CALL_LOG) != PackageManager.PERMISSION_GRANTED) {
                    return;
                }

                tempData = getContentResolver().query(
                        CallLog.Calls.CONTENT_URI, CALLLOG_PROJECTION,
                        selection, selectionArgs,
                        CallLog.Calls.DEFAULT_SORT_ORDER);
            }
            mAdapter.swapCursor(tempData);
            m_FinishLoaderFlag = true;
        }

        @Override
        public void onLoaderReset(android.content.Loader<Cursor> loader) {
            mAdapter.swapCursor(null);
        }
    }



    public void nextView(View view){
        startActivity(new Intent(TestLoaderActivity.this,NextActivity.class));
    }
}

最后是适配器的代码:

package reoger.hut.openfiretest.activty;

import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.net.Uri;
import android.provider.CallLog;
import android.support.v4.app.ActivityCompat;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CursorAdapter;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.TextView;

import java.util.Date;

import reoger.hut.openfiretest.R;

import static android.content.ContentValues.TAG;

/**
 * Created by 24540 on 2017/6/2.
 *
 */

public class MyCursorAdapter extends CursorAdapter {
    private final Context mContext;

    public MyCursorAdapter(Context context, Cursor c) {
        this(context, c, true);
    }

    public MyCursorAdapter(Context context, Cursor c, boolean autoRequery) {
        super(context, c, autoRequery);
        mContext = context;
    }

    public MyCursorAdapter(Context context, Cursor c, int flags) {
        super(context, c, flags);
        mContext = context;
    }


    @Override
    public View newView(Context context, Cursor cursor, ViewGroup parent) {
        LayoutInflater inflater = LayoutInflater.from(context);
        return inflater.inflate(R.layout.item_load, parent, false);
    }

    @Override
    public void bindView(View view, Context context, Cursor cursor) {
        if (cursor == null)
            return;
        final String id = cursor.getString(0);
        String number = cursor.getString(1);
        String name = cursor.getString(2);
        int type = cursor.getInt(3);
        String date = cursor.getString(4);
        ImageView TypeView = (ImageView) view.findViewById(R.id.bt_icon);
        TextView nameCtrl = (TextView) view.findViewById(R.id.tv_name);
        if (name == null) {
            nameCtrl.setText(mContext.getString(R.string.name_unknown));
        } else {
            nameCtrl.setText(name);
        }
        TextView numberCtrl = (TextView) view.findViewById(R.id.tv_number);
        numberCtrl.setText(number);
        String value = ComputeDate(date);
        TextView dateCtrl = (TextView) view.findViewById(R.id.tv_date);
        dateCtrl.setText(value);
        switch (type) {
            case CallLog.Calls.INCOMING_TYPE:
                TypeView.setImageResource(R.drawable.ic_playlist_play_black_24dp);
                break;
            case CallLog.Calls.OUTGOING_TYPE:
                TypeView.setImageResource(R.drawable.chatright);
                break;
            case CallLog.Calls.MISSED_TYPE:
                TypeView.setImageResource(R.drawable.ic_delete_forever_black_24dp);
                break;
            case 4: // CallLog.Calls.VOICEMAIL_TYPE
                break;
            default:
                break;
        }
        ImageButton dailBtn = (ImageButton) view.findViewById(R.id.btn_call);
        dailBtn.setTag(number);

        dailBtn.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // Intent.ACTION_CALL_PRIVILEGED 由于Intent中隐藏了,只能用字符串代替
                Intent intent = new Intent(Intent.ACTION_CALL, Uri.fromParts(
                        "tel", (String) v.getTag(), null));
                intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                if (ActivityCompat.checkSelfPermission(mContext, Manifest.permission.CALL_PHONE) != PackageManager.PERMISSION_GRANTED) {
                    return;
                }
                mContext.startActivity(intent);
            }
        });
        ImageButton deleteBtn = (ImageButton) view
                .findViewById(R.id.btn_delete);
        deleteBtn.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub
                // 根据ID进行记录删除
                String where = CallLog.Calls._ID + "=?";
                String[] selectionArgs = new String[]{id};
                if (ActivityCompat.checkSelfPermission(mContext, Manifest.permission.WRITE_CALL_LOG) != PackageManager.PERMISSION_GRANTED) {
                    return;
                }
                int result = mContext.getContentResolver().delete(
                        CallLog.Calls.CONTENT_URI, where, selectionArgs);
                Log.d(TAG, "11result = " + result);
            }
        });


    }

    private String ComputeDate(String date) {
        long callTime = Long.parseLong(date);
        long newTime = new Date().getTime();
        long duration = (newTime - callTime) / (1000 * 60);
        String value;
        // SimpleDateFormat sfd = new
        // SimpleDateFormat("yyyy-MM-dd HH:mm:ss",
        // Locale.getDefault());
        // String time = sfd.format(callTime);
        // Log.d(TAG, "[MyCursorAdapter--ComputeDate] time = " + time);
        // 进行判断拨打电话的距离现在的时间,然后进行显示说明
        value=duration + "分钟前";
//        if (duration < 60) {
//            value = duration + "分钟前";
//        } else if (duration >= 60 && duration < MainActivity.DAY) {
//            SimpleDateFormat sdf = new SimpleDateFormat("HH:mm",
//                    Locale.getDefault());
//            value = sdf.format(new Date(callTime));
//
//            // value = (duration / 60) + "小时前";
//        } else if (duration >= MainActivity.DAY
//                && duration < MainActivity.DAY * 2) {
//            value = "昨天";
//        } else if (duration >= MainActivity.DAY * 2
//                && duration < MainActivity.DAY * 3) {
//            value = "前天";
//        } else if (duration >= MainActivity.DAY * 7) {
//            SimpleDateFormat sdf = new SimpleDateFormat("MM/dd",
//                    Locale.getDefault());
//            value = sdf.format(new Date(callTime));
//        } else {
//            value = (duration / MainActivity.DAY) + "天前";
//        }
        return value;
    }
}

最后程序运行的截图类似于这种:

Paste_Image.png

这里我直接copy原作者的运行截图。

要注意的一点就是,当写继承LoaderCallback的时候,不要倒错包了,导入的包是android.app.Load......的那个。如图;


Paste_Image.png

示例代码二,这里我只是将手机通讯录里的名字显示到了listView中。代码如下:

public class NextActivity extends AppCompatActivity implements LoaderCallbacks<Cursor> {

    private ListView mList;
    private final static int REQUEST_READ_CONTACTS = 0;

    static final String[] CONTACTS_SUMMARY_PROJECTION = new String[] {
            ContactsContract.Contacts._ID,
            ContactsContract.Contacts.DISPLAY_NAME,
            ContactsContract.Contacts.CONTACT_STATUS,
            ContactsContract.Contacts.CONTACT_PRESENCE,
            ContactsContract.Contacts.PHOTO_ID,
            ContactsContract.Contacts.LOOKUP_KEY,
    };

    // If non-null, this is the current filter the user has provided.
    String mCurFilter;
    SimpleCursorAdapter mAdapter;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_next);

        mAdapter = new SimpleCursorAdapter(this,
                android.R.layout.simple_list_item_2, null,
                new String[] { ContactsContract.Contacts.DISPLAY_NAME, ContactsContract.Contacts.CONTACT_STATUS },
                new int[] { android.R.id.text1, android.R.id.text2 }, 0);


        mList = (ListView) findViewById(R.id.listView);
        mList.setAdapter(mAdapter);


    }

    private void populateAutoComplete() {
        if(!mayRequestContacts()){
            return;
        }
        getLoaderManager().initLoader(0,null,this);
    }

    /**
     * 获取联系人列表的权限
     * @return
     */
    private boolean mayRequestContacts() {
        if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
            return true;
        }
        if (checkSelfPermission(READ_CONTACTS) == PackageManager.PERMISSION_GRANTED) {
            return true;
        }
        if (shouldShowRequestPermissionRationale(READ_CONTACTS)) {
            Snackbar.make(mList, R.string.permission_rationale, Snackbar.LENGTH_INDEFINITE)
                    .setAction(android.R.string.ok, new View.OnClickListener() {
                        @Override
                        @TargetApi(Build.VERSION_CODES.M)
                        public void onClick(View v) {
                            requestPermissions(new String[]{READ_CONTACTS}, REQUEST_READ_CONTACTS);
                        }
                    });
        } else {
            requestPermissions(new String[]{READ_CONTACTS}, REQUEST_READ_CONTACTS);
        }
        return false;
    }

    @Override
    public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
        if(requestCode == REQUEST_READ_CONTACTS){
            if(grantResults.length == 1 && grantResults[0] ==PackageManager.PERMISSION_GRANTED){
                populateAutoComplete();
            }
        }
    }



    public void showContent(View view){
        populateAutoComplete();
    }


    @Override
    public Loader<Cursor> onCreateLoader(int id, Bundle args) {
        Uri baseUri;
        if (mCurFilter != null) {
            baseUri = Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_FILTER_URI,
                    Uri.encode(mCurFilter));
        } else {
            baseUri = ContactsContract.Contacts.CONTENT_URI;
        }

        String select = "((" + ContactsContract.Contacts.DISPLAY_NAME + " NOTNULL) AND ("
                + ContactsContract.Contacts.HAS_PHONE_NUMBER + "=1) AND ("
                + ContactsContract.Contacts.DISPLAY_NAME + " != '' ))";

        CursorLoader cursorLoader = new CursorLoader(this,baseUri,CONTACTS_SUMMARY_PROJECTION,select,null, ContactsContract.Contacts.DISPLAY_NAME+" COLLATE LOCALIZED ASC");

        return cursorLoader;
    }

    @Override
    public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
        mAdapter.swapCursor(data);
    }

    @Override
    public void onLoaderReset(Loader<Cursor> loader) {
        if(loader!=null)
        mAdapter.swapCursor(null);
    }
}

对应的布局文件为:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context="reoger.hut.openfiretest.activty.NextActivity">
    
    <Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:onClick="showContent"
        android:text="查看联系人"/>
    <ListView
        android:id="@+id/listView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        />
</LinearLayout>

最后显示的效果为:

device-2017-06-03-195754.png

如果对上面的字段是不很了解,这里也给出参考资料官方文档,或者中文的会更加简单一点,那就试试这个

最后,如果对Loader还有什么不懂的,强烈推荐看官方api指南

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 204,053评论 6 478
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 85,527评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 150,779评论 0 337
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,685评论 1 276
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,699评论 5 366
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,609评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,989评论 3 396
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,654评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,890评论 1 298
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,634评论 2 321
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,716评论 1 330
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,394评论 4 319
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,976评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,950评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,191评论 1 260
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 44,849评论 2 349
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,458评论 2 342

推荐阅读更多精彩内容