Search in sources :

Example 1 with FilePhotoAdapter

use of com.yydcdut.noteplugin.adapter.FilePhotoAdapter in project PhotoNoter by yydcdut.

the class FilePhotoFragment method onActivityCreated.

@Override
public void onActivityCreated(@Nullable Bundle savedInstanceState) {
    super.onActivityCreated(savedInstanceState);
    TreeFile root = PhotoModel.getInstance().findByPath();
    if (root != null) {
        mRecyclerView.setAdapter(new FilePhotoAdapter(root));
    } else {
        YLog.i("yuyidong", "root == null");
    }
}
Also used : TreeFile(com.yydcdut.noteplugin.bean.TreeFile) FilePhotoAdapter(com.yydcdut.noteplugin.adapter.FilePhotoAdapter)

Aggregations

FilePhotoAdapter (com.yydcdut.noteplugin.adapter.FilePhotoAdapter)1 TreeFile (com.yydcdut.noteplugin.bean.TreeFile)1