Search in sources :

Example 11 with IssueFilter

use of com.github.pockethub.android.core.issue.IssueFilter in project PocketHub by pockethub.

the class FiltersViewFragment method onItemLongClick.

@Override
public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {
    IssueFilter filter = (IssueFilter) parent.getItemAtPosition(position);
    Bundle args = new Bundle();
    args.putParcelable(ARG_FILTER, filter);
    ConfirmDialogFragment.show(getActivity(), REQUEST_DELETE, getString(R.string.confirm_bookmark_delete_title), getString(R.string.confirm_bookmark_delete_message), args);
    return true;
}
Also used : Bundle(android.os.Bundle) IssueFilter(com.github.pockethub.android.core.issue.IssueFilter)

Aggregations

IssueFilter (com.github.pockethub.android.core.issue.IssueFilter)11 File (java.io.File)3 Bundle (android.os.Bundle)2 Repository (com.meisolsson.githubsdk.model.Repository)2 Issue (com.meisolsson.githubsdk.model.Issue)1 Milestone (com.meisolsson.githubsdk.model.Milestone)1 User (com.meisolsson.githubsdk.model.User)1