class WaypointList extends RecyclerView {

    public List<RouteWaypoint> getRouteWaypoints() {
        final List<RouteWaypoint> waypointList = new ArrayList<>();
        for (final WaypointEntry entry : mWaypointEntries) {
            waypointList.add(entry.getRouteWaypoint());
        }
        return waypointList;
    }

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

}