// Path: app/src/main/java/com/daskiworks/ghwatch/model/NotifCount.java
// public class NotifCount {
// 
//   public String title;
//   public int count = 0;
// 
// }


import com.daskiworks.ghwatch.model.NotificationStreamViewData;
import android.app.Dialog;
import androidx.annotation.NonNull;
import com.google.android.material.bottomsheet.BottomSheetBehavior;
import com.google.android.material.bottomsheet.BottomSheetDialog;
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewTreeObserver;
import android.widget.AdapterView;
import android.widget.FrameLayout;
import android.widget.ImageButton;
import android.widget.ListView;
import android.widget.Toast;
import com.daskiworks.ghwatch.model.NotifCount;
    } else {
      resetButton.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
          getMainActivity().setFilterByRepository(null);
          dismiss();
        }
      });
      //long press tooltip!
      resetButton.setOnLongClickListener(new View.OnLongClickListener() {

        @Override
        public boolean onLongClick(View view) {
          Toast.makeText(getContext(), view.getContentDescription(), Toast.LENGTH_SHORT).show();
          return true;
        }
      });
    }

    ActivityTracker.sendView(getActivity(), TAG);
  }

  protected MainActivity getMainActivity() {
    return (MainActivity) getActivity();
  }

  private class RepositoriesListItemClickListener implements ListView.OnItemClickListener {
    @Override
    public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
      if (repositoriesListView != null) {
// Path: app/src/main/java/com/daskiworks/ghwatch/model/NotifCount.java
// public class NotifCount {
// 
//   public String title;
//   public int count = 0;
// 
// }


// Path: app/src/main/java/com/daskiworks/ghwatch/ListOfNotificationsByRepositoriesFilterDialog.java
import com.daskiworks.ghwatch.model.NotificationStreamViewData;
import android.app.Dialog;
import androidx.annotation.NonNull;
import com.google.android.material.bottomsheet.BottomSheetBehavior;
import com.google.android.material.bottomsheet.BottomSheetDialog;
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewTreeObserver;
import android.widget.AdapterView;
import android.widget.FrameLayout;
import android.widget.ImageButton;
import android.widget.ListView;
import android.widget.Toast;
import com.daskiworks.ghwatch.model.NotifCount;

    } else {
      resetButton.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
          getMainActivity().setFilterByRepository(null);
          dismiss();
        }
      });
      //long press tooltip!
      resetButton.setOnLongClickListener(new View.OnLongClickListener() {

        @Override
        public boolean onLongClick(View view) {
          Toast.makeText(getContext(), view.getContentDescription(), Toast.LENGTH_SHORT).show();
          return true;
        }
      });
    }

    ActivityTracker.sendView(getActivity(), TAG);
  }

  protected MainActivity getMainActivity() {
    return (MainActivity) getActivity();
  }

  private class RepositoriesListItemClickListener implements ListView.OnItemClickListener {
    @Override
    public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
      if (repositoriesListView != null) {
        NotifCount nc = (NotifCount) repositoriesListAdapter.getItem(position);