@Override
            public int getCount() {
                return data == null ? 0 : data.getCount();
            }
RemoteViewsService controlling the data being shown in the scrollable weather detail widget
app/src/main/java/com/example/android/sunshine/app/widget/DetailWidgetRemoteViewsService.java