package com.alexstyl.specialdates.widgetprovider.upcomingevents;

import android.widget.RemoteViews;

public interface UpcomingEventViewBinder<T> {

    void bind(T viewModel);

    RemoteViews getViews();
}

package com.alexstyl.specialdates.widgetprovider.upcomingevents;

import android.widget.RemoteViews;

import com.alexstyl.specialdates.upcoming.UpcomingRowViewModel;

public interface UpcomingEventViewBinder<T extends UpcomingRowViewModel> {

    void bind(T viewModel);

    RemoteViews getViews();
}

Make UpcomingEventViewBinder use a UpcomingRowViewModel