public ServiceSpecificDetails(TextView infoText, Intent intent) { super(); this.sInfoText = infoText; this.sIntent = intent; this.sState = ServiceState.NOT_CONNECTED; setInfoText(sState.name()); }