-/**
- * Copyright 2016 Soren Stoutner <soren@stoutner.com>.
+/*
+ * Copyright © 2016-2017 Soren Stoutner <soren@stoutner.com>.
*
* This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
*
public class HistoryArrayAdapter extends ArrayAdapter<History> {
// `currentPage` is used in `HistoryArrayAdapter` and `getView()`.
- private int currentPage;
+ private final int currentPage;
public HistoryArrayAdapter(Context context, ArrayList<History> historyArrayList, int currentPageId) {
// We need to call `super` from the base `ArrayAdapter`. `0` is the `textViewResourceId`.