package com.x1unix.avi.dashboard;

import com.x1unix.avi.R;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.x1unix.avi.model.KPMovie;
import com.x1unix.avi.storage.MoviesRepository;
import java.util.ArrayList;

public class FavoritesTabFragment extends DashboardTabFragment {

    @Override
    protected ArrayList<KPMovie> getContentItems() {
        return moviesRepository.getFavoritesMovies();
    }

    @Override
    protected int getTabView() {
        return R.layout.tab_favorites;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        return super.onCreateView(inflater, container, savedInstanceState);
    }

    public static DashboardTabFragment getInstance(MoviesRepository m) {
        return (new FavoritesTabFragment()).setMoviesRepository(m);
    }
}
@@ -684,32 +684,183 @@
 eState);%0A    %7D%0A%0A
+    @Override%0A    protected String getPlaylistGenitivusName() %7B%0A        return getResources().getString(R.string.playlist_genitivus_favorites);%0A    %7D%0A%0A
     @Override%0A  

Set name for favs tab