メソッドリネーム

This commit is contained in:
r-ca 2024-01-28 10:34:22 +09:00
parent e5ba889780
commit 8a656f673d
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 2 additions and 15 deletions

View File

@ -91,7 +91,7 @@ public class LacertaDirPickerDialog extends LacertaFilePickerDialogBase {
private void updateList(LacertaFilePickerAdapterBase adapter, String folderId) { private void updateList(LacertaFilePickerAdapterBase adapter, String folderId) {
lacertaLibrary.getFolderList(folderId).thenAccept(libraryItemPage -> { lacertaLibrary.getFolderList(folderId).thenAccept(libraryItemPage -> {
adapter.setListItems(libraryItemPage); adapter.setListItems(libraryItemPage);
this.updateList(adapter, libraryItemPage, adapter.getItemCount(), adapter.getCurrentId()); this.updateListView(adapter, libraryItemPage, adapter.getItemCount(), adapter.getCurrentId());
}); });
} }
} }

View File

@ -1,23 +1,10 @@
package one.nem.lacerta.component.common.picker.base; package one.nem.lacerta.component.common.picker.base;
import android.app.Dialog;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import androidx.fragment.app.DialogFragment; import androidx.fragment.app.DialogFragment;
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import javax.inject.Inject; import javax.inject.Inject;
import one.nem.lacerta.component.common.LacertaSelectDirDialog;
import one.nem.lacerta.component.common.R;
import one.nem.lacerta.component.common.SelectDirDialogItemAdapter;
import one.nem.lacerta.data.LacertaLibrary;
import one.nem.lacerta.model.LibraryItemPage; import one.nem.lacerta.model.LibraryItemPage;
import one.nem.lacerta.model.ListItemType;
import one.nem.lacerta.utils.FeatureSwitch;
import one.nem.lacerta.utils.LacertaLogger; import one.nem.lacerta.utils.LacertaLogger;
public class LacertaFilePickerDialogBase extends DialogFragment { public class LacertaFilePickerDialogBase extends DialogFragment {
@ -52,7 +39,7 @@ public class LacertaFilePickerDialogBase extends DialogFragment {
} }
// Methods // Methods
protected void updateList(LacertaFilePickerAdapterBase adapter, LibraryItemPage libraryItemPage, int currentCount, String currentDirId) { protected void updateListView(LacertaFilePickerAdapterBase adapter, LibraryItemPage libraryItemPage, int currentCount, String currentDirId) {
if (currentDirId == null) { if (currentDirId == null) {
// Rootが関わる推移 (Rootからの推移) // Rootが関わる推移 (Rootからの推移)
adapter.setListItems(libraryItemPage); adapter.setListItems(libraryItemPage);