项目作者: MehmetAliAlpergun

项目描述 :
PolishedToast-Xamarin
高级语言: C#
项目地址: git://github.com/MehmetAliAlpergun/PolishedToast.git
创建时间: 2017-10-25T07:26:14Z
项目社区:https://github.com/MehmetAliAlpergun/PolishedToast

开源协议:Apache License 2.0

下载


PolishedToast

Polished Android Toast for Xamarin

Screens

screen
screen
screen
screen
screen

Usage

  1. // for blue background toast with info icon
  2. PolishedToast.Info(this, "Info").Show();
  3. // for greeen background toast with success icon
  4. PolishedToast.Success(this, "Success").Show();
  5. // for grey background toast without icon
  6. PolishedToast.Create(this, "Default").Show();
  7. // for red background toast with error icon
  8. PolishedToast.Error(this, "Error").Show();
  9. // for yellow background toast without icon and defined toast duration
  10. PolishedToast.Warning(this, "Warning", ToastLength.Long, false).Show();

Install

Available on NuGet

Nuget

License

  1. Licensed under the Apache License, Version 2.0 (the "License");
  2. you may not use this file except in compliance with the License.
  3. You may obtain a copy of the License at
  4. http://www.apache.org/licenses/LICENSE-2.0
  5. Unless required by applicable law or agreed to in writing, software
  6. distributed under the License is distributed on an "AS IS" BASIS,
  7. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  8. See the License for the specific language governing permissions and
  9. limitations under the License.