Skip to content
Snippets Groups Projects
Commit 661f445e authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Set observable string field to MediaLibraryItem

parent ebc07262
No related branches found
No related tags found
No related merge requests found
......@@ -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() {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment