// Path: app/src/main/java/de/devland/masterpassword/model/Category.java
// @Getter
// @EqualsAndHashCode
// @RequiredArgsConstructor(suppressConstructorProperties = true)
// public class Category implements Comparable<Category> {
//     private final String name;
// 
//     public static Category all(Context context) {
//         return new Category(context.getString(R.string.category_all));
//     }
// 
//     @Override
//     public int compareTo(Category that) {
//         return this.name.compareTo(that.name);
//     }
// }
// 
// Path: app/src/main/java/de/devland/masterpassword/util/event/CategoryChangeEvent.java
// @Getter
// @RequiredArgsConstructor(suppressConstructorProperties = true)
// public class CategoryChangeEvent {
//     private final Category category;
// }


import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.squareup.otto.Subscribe;
import de.devland.masterpassword.model.Category;
import de.devland.masterpassword.util.event.CategoryChangeEvent;
package de.devland.masterpassword.ui.drawer;




/**
 * Created by deekay on 02/11/14.
 */
public class AllCategoryDrawerItem extends CategoryDrawerItem {
    public AllCategoryDrawerItem(Context context) {
        super(Category.all(context));
        this.firstLetter = "A";
    }

    @Override
    public View getView(Context context, ViewGroup root) {
// Path: app/src/main/java/de/devland/masterpassword/model/Category.java
// @Getter
// @EqualsAndHashCode
// @RequiredArgsConstructor(suppressConstructorProperties = true)
// public class Category implements Comparable<Category> {
//     private final String name;
// 
//     public static Category all(Context context) {
//         return new Category(context.getString(R.string.category_all));
//     }
// 
//     @Override
//     public int compareTo(Category that) {
//         return this.name.compareTo(that.name);
//     }
// }
// 
// Path: app/src/main/java/de/devland/masterpassword/util/event/CategoryChangeEvent.java
// @Getter
// @RequiredArgsConstructor(suppressConstructorProperties = true)
// public class CategoryChangeEvent {
//     private final Category category;
// }


// Path: app/src/main/java/de/devland/masterpassword/ui/drawer/AllCategoryDrawerItem.java
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.squareup.otto.Subscribe;
import de.devland.masterpassword.model.Category;
import de.devland.masterpassword.util.event.CategoryChangeEvent;

package de.devland.masterpassword.ui.drawer;




/**
 * Created by deekay on 02/11/14.
 */
public class AllCategoryDrawerItem extends CategoryDrawerItem {
    public AllCategoryDrawerItem(Context context) {
        super(Category.all(context));
        this.firstLetter = "A";
    }

    @Override
    public View getView(Context context, ViewGroup root) {
        View view = super.getView(context, root);