private void focusNextVisibleInput(final EditText editText) {
            int index = orderedInputs.indexOf(editText);
            do {
                index = (index + 1) % orderedInputs.size();
            } while (orderedInputs.get(index).getVisibility() == View.GONE);

            orderedInputs.get(index).requestFocus();
        }
weak reference, such that garbage collector can do its work
main/src/main/java/cgeo/geocaching/ui/dialog/CoordinatesInputDialog.java