mirror of
https://github.com/SimpleMobileTools/Simple-Voice-Recorder.git
synced 2024-12-12 09:06:27 +01:00
commenting out the voice editor in progress
not sure how it got here...
This commit is contained in:
parent
6ec445ee64
commit
387b9e6b00
@ -1,6 +1,5 @@
|
||||
package com.simplemobiletools.voicerecorder.adapters
|
||||
|
||||
import android.content.Intent
|
||||
import android.view.*
|
||||
import android.widget.PopupMenu
|
||||
import android.widget.TextView
|
||||
@ -12,7 +11,6 @@ import com.simplemobiletools.commons.helpers.isQPlus
|
||||
import com.simplemobiletools.commons.views.MyRecyclerView
|
||||
import com.simplemobiletools.voicerecorder.BuildConfig
|
||||
import com.simplemobiletools.voicerecorder.R
|
||||
import com.simplemobiletools.voicerecorder.activities.EditRecordingActivity
|
||||
import com.simplemobiletools.voicerecorder.activities.SimpleActivity
|
||||
import com.simplemobiletools.voicerecorder.databinding.ItemRecordingBinding
|
||||
import com.simplemobiletools.voicerecorder.dialogs.DeleteConfirmationDialog
|
||||
@ -32,8 +30,7 @@ class RecordingsAdapter(
|
||||
val refreshListener: RefreshRecordingsListener,
|
||||
recyclerView: MyRecyclerView,
|
||||
itemClick: (Any) -> Unit
|
||||
) :
|
||||
MyRecyclerViewAdapter(activity, recyclerView, itemClick), RecyclerViewFastScroller.OnPopupTextUpdate {
|
||||
) : MyRecyclerViewAdapter(activity, recyclerView, itemClick), RecyclerViewFastScroller.OnPopupTextUpdate {
|
||||
|
||||
var currRecordingId = 0
|
||||
|
||||
@ -283,12 +280,12 @@ class RecordingsAdapter(
|
||||
}
|
||||
}
|
||||
|
||||
R.id.cab_edit -> {
|
||||
/*R.id.cab_edit -> {
|
||||
Intent(activity, EditRecordingActivity::class.java).apply {
|
||||
putExtra(EditRecordingActivity.RECORDING_ID, recordingId)
|
||||
activity.startActivity(this)
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
R.id.cab_delete -> {
|
||||
executeItemMenuOperation(recordingId, removeAfterCallback = false) {
|
||||
|
@ -18,12 +18,12 @@
|
||||
android:icon="@drawable/ic_delete_vector"
|
||||
android:showAsAction="always"
|
||||
android:title="@string/delete" />
|
||||
<item
|
||||
<!--<item
|
||||
android:id="@+id/cab_edit"
|
||||
android:icon="@drawable/ic_edit_vector"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/edit"
|
||||
app:showAsAction="ifRoom" />
|
||||
app:showAsAction="ifRoom" />-->
|
||||
<item
|
||||
android:id="@+id/cab_open_with"
|
||||
android:showAsAction="never"
|
||||
|
Loading…
Reference in New Issue
Block a user