mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-10 13:16:04 -04:00
Style[bta_adapter]: change return types
This commit is contained in:
parent
fab0186cbe
commit
1e060d1aa8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user