Code example for Vector

Methods: toArray

0
	if (this.deleteOnClickListener != null)
	    this.deleteOnClickListener.onClick(v);
    } 
 
    public String[] getTokens() {
	return this.mMagnets.toArray(new String[]{});
    } 
 
    /* 
     * Display  
     *  
     */ 
    // private void showDropDown() { 
    // 	if (this.predictionPopup == null) { 
    // 	    this.predictionPopup = new PopupWindow(this.getContext()); 
    // 	} 
    // 	PredicateLayout layout = new PredicateLayout(this.getContext()); 
    // 	PredicateLayout.LayoutParams params = new PredicateLayout.LayoutParams(2, 1); 
    // 	for (String magnet: predictions) { 
    // 	    TextView t = new Magnet(this.getContext()); 
    // 	    t.setText(magnet);