package im.actor.sdk.controllers.pickers.file.items;

import im.actor.sdk.controllers.pickers.file.ExploreItemViewHolder;

import java.io.File;

import im.actor.sdk.R;

/**
 * Created by kiolt_000 on 01/10/2014.
 */
public class BackItem extends ExplorerItem {

    public BackItem() {
        super(new File(""), false, "build/intermediates/exploded-aar/com.droidkit/progress/0.5", R.drawable.picker_folder, true);
    }

    @Override
    public String getTitle() {
        return "build/intermediates/exploded-aar/com.droidkit/progress/0.5";
    }

    @Override
    public boolean isDirectory() {
        return true;
    }

    @Override
    public boolean isEnabled() {
        return true;
    }

    @Override
    public void bindData(ExploreItemViewHolder holder) {
        holder.setTitle(getTitle());
        holder.disableSubtitle();
        holder.enableDivider();
    }
}

@@ -319,66 +319,10 @@
 e, %22
-build/intermediates/exploded-aar/com.droidkit/progress/0.5
+..
 %22, R
@@ -425,66 +425,10 @@
 rn %22
-build/intermediates/exploded-aar/com.droidkit/progress/0.5
+..
 %22;%0A 

set backItem title to ".."