| | |
| | | import com.hdl.photovoltaic.enums.ShowErrorMode; |
| | | import com.hdl.photovoltaic.widget.ConfirmationCancelDialog; |
| | | import com.hdl.photovoltaic.widget.ConfirmationExceptionDialog; |
| | | import com.hdl.photovoltaic.widget.FlashingBoxDialog; |
| | | import com.hdl.photovoltaic.widget.FlashingIconBoxDialog; |
| | | |
| | | /** |
| | |
| | | handler.post(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | // FlashingBoxDialog flashingIconBoxDialog = new FlashingBoxDialog(context, 1500); |
| | | // flashingIconBoxDialog.setContent(text); |
| | | // flashingIconBoxDialog.show(); |
| | | Toast.makeText(context, text, Toast.LENGTH_SHORT).show(); |
| | | } |
| | | }); |
| | |
| | | handler.post(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | // FlashingBoxDialog flashingIconBoxDialog = new FlashingBoxDialog(context, 1500); |
| | | // flashingIconBoxDialog.setContent(hdlException.getMsg() + "(" + hdlException.getCode() + ")"); |
| | | // flashingIconBoxDialog.show(); |
| | | Toast.makeText(context, hdlException.getMsg() + "(" + hdlException.getCode() + ")", Toast.LENGTH_SHORT).show(); |
| | | } |
| | | }); |
| | |
| | | handler.post(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | |
| | | Toast.makeText(context, resId, Toast.LENGTH_SHORT).show(); |
| | | } |
| | | }); |