class WaypointList extends RecyclerView {

    public WaypointEntry removeEntry(final int index) {
        if (index < 0 || index > mWaypointEntries.size()) {
            throw new IllegalArgumentException(
                    getContext().getString(R.string.msdkui_exception_out_of_index_range, 0,
                            mWaypointEntries.size()));
        }
        if (mMinWaypointCount == mWaypointEntries.size()) {
            throw new IllegalArgumentException(
                    getContext().getString(R.string.msdkui_exception_waypoint_fail_min));
        }
        final WaypointEntry removedEntry = mWaypointEntries.remove(index);
        mAdapter.notifyEntryRemoved(index, removedEntry);
        return removedEntry;
    }

    public  WaypointList(final Context context);
    public  WaypointList(final Context context, final AttributeSet attrs);
    public  WaypointList(final Context context, final AttributeSet attrs, final int defStyleAttr);

}