daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <fragment class="com.example.viktor.buyersguide.Section"
  2.    
  3. @Override
  4. public View onCreateView(LayoutInflater inflater, ViewGroup container,
  5.                          Bundle savedInstanceState) {
  6.  
  7.     String[] nameList = new String[Cards.cards.length];
  8.  
  9.     for(int i = 0; i < Cards.cards.length; i++) {
  10.         nameList[i] = Cards.cards[i];
  11.     }
  12.  
  13.     ArrayAdapter<String> listAdapter = new ArrayAdapter<>(inflater.getContext(),
  14.             android.R.layout.simple_expandable_list_item_1, nameList);
  15.     setListAdapter(listAdapter);
  16.  
  17.     return super.onCreateView(inflater, container, savedInstanceState);
  18.    
  19. String[] nameList = new String[Cards.app.length];
  20.  
  21.         for(int i = 0; i < Cards.app.length; i++) {
  22.             nameList[i] = Cards.app[i];
  23.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top