Skip to content

Commit

Permalink
Style[bta_adapter]: change return types
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell committed Feb 10, 2025
1 parent fab0186 commit 1e060d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public Object getGroup(int i) {
}

@Override
public Object getChild(int i, int i1) {
public BTAUtils.BTAVersion getChild(int i, int i1) {
return mGroups.get(i).get(i1);
}

Expand Down Expand Up @@ -88,7 +88,7 @@ public View getGroupView(int i, boolean b, View convertView, ViewGroup viewGroup
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;
}

Expand Down

0 comments on commit 1e060d1

Please sign in to comment.