File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
app/src/main/java/com/owncloud/android/ui Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import android.content.Context
29
29
import android.os.Handler
30
30
import android.os.Looper
31
31
import android.view.LayoutInflater
32
+ import android.view.View
32
33
import android.view.ViewGroup
33
34
import androidx.annotation.VisibleForTesting
34
35
import com.afollestad.sectionedrecyclerview.SectionedRecyclerViewAdapter
@@ -130,7 +131,7 @@ class GalleryAdapter(
130
131
return files.size
131
132
}
132
133
133
- override fun getPopupText (position : Int ): String {
134
+ override fun getPopupText (p0 : View , position : Int ): CharSequence {
134
135
return DisplayUtils .getDateByPattern(
135
136
files[getRelativePosition(position).section()].date,
136
137
context,
Original file line number Diff line number Diff line change @@ -1111,7 +1111,7 @@ public void setShowMetadata(boolean bool) {
1111
1111
1112
1112
@ NonNull
1113
1113
@ Override
1114
- public String getPopupText (int position ) {
1114
+ public String getPopupText (View view , int position ) {
1115
1115
OCFile file = getItem (position );
1116
1116
1117
1117
if (file == null || sortOrder == null ) {
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ class GalleryFastScrollViewHelper(
238
238
return if (position == RecyclerView .NO_POSITION ) {
239
239
null
240
240
} else {
241
- popupTextProvider.getPopupText(position).toString()
241
+ popupTextProvider.getPopupText(mView, position).toString()
242
242
}
243
243
}
244
244
You can’t perform that action at this time.
0 commit comments