class WaypointList extends RecyclerView {

    public void updateEntry(final int index, final WaypointEntry entry) {
        if (index < 0 || index > mWaypointEntries.size()) {
            throw new IllegalArgumentException(
                    getContext().getString(R.string.msdkui_exception_out_of_index_range, 0,
                            mWaypointEntries.size()));
        }
        if (entry == null) {
            throw new IllegalArgumentException(
                    getContext().getString(R.string.msdkui_exception_waypoint_entry_null));
        }
        mWaypointEntries.set(index, entry);
        mAdapter.notifyEntryUpdated(index, entry);
    }

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

}