package com.jakewharton.rxbinding.widget

import android.widget.Adapter
import rx.Observable

/**
 * Create an observable of data change events for `adapter`.
 * 
 * *Note:* A value will be emitted immediately on subscribe.
 */
public inline fun <T : Adapter> T.dataChanges(): Observable<T> = RxAdapter.dataChanges(this)
