From 1e060d1aa8652034d681fff340ab9d7eb41cc8c9 Mon Sep 17 00:00:00 2001 From: artdeell Date: Mon, 10 Feb 2025 22:34:32 +0300 Subject: [PATCH] Style[bta_adapter]: change return types --- .../net/kdt/pojavlaunch/modloaders/BTAVersionListAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/modloaders/BTAVersionListAdapter.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/modloaders/BTAVersionListAdapter.java index 4b1f99b66..bc2172e91 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/modloaders/BTAVersionListAdapter.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/modloaders/BTAVersionListAdapter.java @@ -55,7 +55,7 @@ public class BTAVersionListAdapter extends BaseExpandableListAdapter implements } @Override - public Object getChild(int i, int i1) { + public BTAUtils.BTAVersion getChild(int i, int i1) { return mGroups.get(i).get(i1); } @@ -88,7 +88,7 @@ public class BTAVersionListAdapter extends BaseExpandableListAdapter implements public View getChildView(int i, int i1, boolean b, View convertView, ViewGroup viewGroup) { if(convertView == null) convertView = mLayoutInflater.inflate(android.R.layout.simple_expandable_list_item_1, viewGroup, false); - ((TextView) convertView).setText(((BTAUtils.BTAVersion)getChild(i,i1)).versionName); + ((TextView) convertView).setText(getChild(i,i1).versionName); return convertView; }