Skip to content

Commit 2749e68

Browse files
committed
just renaming some list file types
1 parent e1c0554 commit 2749e68

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/adapters/DecompressItemsAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import com.simplemobiletools.filemanager.pro.R
2121
import com.simplemobiletools.filemanager.pro.activities.SimpleActivity
2222
import com.simplemobiletools.filemanager.pro.extensions.config
2323
import com.simplemobiletools.filemanager.pro.models.ListItem
24-
import kotlinx.android.synthetic.main.item_list_file_dir.view.*
24+
import kotlinx.android.synthetic.main.item_file_dir_list.view.*
2525
import java.util.*
2626

2727
class DecompressItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem>, recyclerView: MyRecyclerView, itemClick: (Any) -> Unit) :

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/adapters/ItemsAdapter.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ import com.simplemobiletools.filemanager.pro.helpers.*
4040
import com.simplemobiletools.filemanager.pro.interfaces.ItemOperationsListener
4141
import com.simplemobiletools.filemanager.pro.models.ListItem
4242
import com.stericson.RootTools.RootTools
43-
import kotlinx.android.synthetic.main.item_list_file_dir.view.*
44-
import kotlinx.android.synthetic.main.item_list_section.view.*
43+
import kotlinx.android.synthetic.main.item_file_dir_list.view.*
44+
import kotlinx.android.synthetic.main.item_section.view.*
4545
import java.io.Closeable
4646
import java.io.File
4747
import java.io.FileInputStream
@@ -138,7 +138,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
138138
}
139139

140140
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
141-
val layout = if (viewType == TYPE_SECTION) R.layout.item_list_section else R.layout.item_list_file_dir
141+
val layout = if (viewType == TYPE_SECTION) R.layout.item_section else R.layout.item_file_dir_list
142142
return createViewHolder(layout, parent)
143143
}
144144

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)