コード例 #1
0
 public FolderListAdapter(Context context, List list) {
   mContext = context;
   mItems = new ArrayList(list);
   if (!Application.getInstance().isTablet()) {
     mItems.remove(0);
   }
 }
コード例 #2
0
 public View getView(int i, View view, ViewGroup viewgroup) {
   view = ((LayoutInflater) mContext.getSystemService("layout_inflater")).inflate(0x1090003, null);
   view.setBackgroundColor(mContext.getResources().getColor(0x7f070016));
   ((TextView) view).setText((String) getItem(i));
   ((TextView) view).setTextAppearance(mContext, 0x1030044);
   ((TextView) view).setTypeface(Application.getInstance().getTypeFace());
   return view;
 }
コード例 #3
0
 public void run() {
   Application.getInstance().startHomeActivity(SplashAdActivity.this);
   finish();
 }