Here you can find the source of getString(TextView view)
Parameter | Description |
---|---|
view | - the view to read from |
public static String getString(TextView view)
//package com.java2s; import android.widget.TextView; public class Main { /**//from w w w.j av a 2s. c om * extract the trimmed string value out of the passed TextView * * @param view - the view to read from * @return the trimmed string value from the view */ public static String getString(TextView view) { return view.getText().toString().trim(); } }