Esempio n. 1
0
 public View a(LayoutInflater layoutinflater, ViewGroup viewgroup, Bundle bundle) {
   if (i() != null && i().getActionBar() != null) {
     i().getActionBar().show();
     i().findViewById(0x7f0e0164).setVisibility(8);
   }
   layoutinflater = layoutinflater.inflate(0x7f03004f, viewgroup, false);
   a = (ListView) layoutinflater.findViewById(0x7f0e0201);
   b = (ProgressBar) layoutinflater.findViewById(0x7f0e0200);
   a(j().getString(0x7f070133), ((android.app.Activity) (i())));
   viewgroup = new m(i());
   viewgroup.a();
   viewgroup.a(this);
   return layoutinflater;
 }
 public View a(int l, View view, ViewGroup viewgroup)
 {
     long l1 = a(l);
     if (view == null)
     {
         if (l1 == 2L)
         {
             view = new View(e.getActivity());
         } else
         {
             view = ChallengeHeaderView.a(e.getActivity());
         }
     }
     if (l1 != 2L)
     {
         viewgroup = (ChallengeHeaderView)view;
         ChallengesFragment challengesfragment = e;
         if (l1 == 0L)
         {
             l = 0x7f0802cb;
         } else
         {
             l = 0x7f0802c9;
         }
         viewgroup.a(challengesfragment.getString(l).toUpperCase());
     }
     return view;
 }
 public View getView(int paramInt, View paramView, ViewGroup paramViewGroup) {
   View localView = paramView;
   if (paramView == null) {
     localView =
         LayoutInflater.from(paramViewGroup.getContext())
             .inflate(2130903372, paramViewGroup, false);
     localView.setTag(new a.a(localView));
   }
   paramView = (a.a) localView.getTag();
   paramViewGroup = (Category) getItem(paramInt);
   Object localObject = (Drawable) a.get(paramViewGroup.d());
   a.setCompoundDrawablesWithIntrinsicBounds((Drawable) localObject, null, null, null);
   if ((c) && (paramViewGroup.f() > 0)) {
     b.setVisibility(0);
     localObject = a;
     if ((!b.contains(paramViewGroup)) || (paramViewGroup.f() != 0)) {
       break label169;
     }
   }
   label169:
   for (boolean bool = true; ; bool = false) {
     ((CheckedTextView) localObject).setChecked(bool);
     a.setText(paramViewGroup.a());
     return localView;
     b.setVisibility(8);
     break;
   }
 }
Esempio n. 4
0
 public View getView(int i, View view, ViewGroup viewgroup) {
   if (view == null) {
     view = com.android.widget.popupmenu.c.b(a).inflate(0x7f040085, viewgroup, false);
   }
   viewgroup = (te) view;
   if (a.a) {
     ((ListMenuItemView) view).setForceShowIcon(true);
   }
   viewgroup.a(a(i), 0);
   return view;
 }
Esempio n. 5
0
 public final View getView(int i, View view, ViewGroup viewgroup)
 {
     View view1;
     FbFriend fbfriend;
     if (view != null)
     {
         viewgroup = (v)view.getTag();
         view1 = view;
     } else
     {
         view1 = b.inflate(as.o, viewgroup, false);
         viewgroup = new v((byte)0);
         viewgroup.b = (TextView)view1.findViewById(ar.da);
         viewgroup.a = (ImageView)view1.findViewById(ar.bl);
         view1.setTag(viewgroup);
     }
     fbfriend = (FbFriend)getItem(i);
     view = fbfriend.b();
     if (view != null) goto _L2; else goto _L1
Esempio n. 6
0
 public final View getDropDownView(int i, View view, ViewGroup viewgroup) {
   if (view == null) {
     view = (TextView) LayoutInflater.from(b).inflate(0x7f03024f, viewgroup, false);
     view.setEllipsize(android.text.TextUtils.TruncateAt.END);
   } else {
     view = (TextView) view;
   }
   view.setText((CharSequence) getItem(i));
   if (a != null) {
     viewgroup = b.getResources();
     Drawable drawable = viewgroup.getDrawable(((Integer) a.get(i)).intValue());
     int j = (int) TypedValue.applyDimension(1, 30F, viewgroup.getDisplayMetrics());
     drawable.setBounds(0, 0, j, j);
     view.setCompoundDrawables(null, drawable, null, null);
   }
   if (myobfuscated.bw.a.a()) {
     viewgroup = m.f();
     view.setTag(Integer.valueOf(i));
     viewgroup.a(view, null);
   }
   return view;
 }