Commit 661f445e authored by Geoffrey Métais's avatar Geoffrey Métais

Set observable string field to MediaLibraryItem

parent ebc07262
......@@ -46,6 +46,10 @@ android {
proguardFile 'proguard.cfg'
}
}
dataBinding {
enabled = true
}
}
dependencies {
......
package org.videolan.medialibrary.media;
import android.databinding.ObservableField;
import android.os.Parcel;
import android.os.Parcelable;
......@@ -21,8 +22,8 @@ public abstract class MediaLibraryItem implements Parcelable {
public abstract int getItemType();
long mId;
protected String mTitle;
protected String mDescription;
protected String mTitle, mDescription;
public ObservableField<String> observableDescription = null;
protected MediaLibraryItem() {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment