Skip to content

Commit 589977c

Browse files
author
Yevhen Babiichuk (DustDFG)
committed
Convert newpipe/util/text/LongPressClickableSpan to kotlin
1 parent 5647339 commit 589977c

2 files changed

Lines changed: 13 additions & 12 deletions

File tree

app/src/main/java/org/schabi/newpipe/util/text/LongPressClickableSpan.java

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2023-2026 NewPipe contributors <https://newpipe.net>
3+
* SPDX-License-Identifier: GPL-3.0-or-later
4+
*/
5+
6+
package org.schabi.newpipe.util.text
7+
8+
import android.text.style.ClickableSpan
9+
import android.view.View
10+
11+
abstract class LongPressClickableSpan : ClickableSpan() {
12+
abstract fun onLongClick(view: View)
13+
}

0 commit comments

Comments
 (0)