Karamunting.Android.CenkGun.ChatBar 1.0.5

Cenk Gun's ChatBar

A sweet message box designed for Android developers.

Install-Package Karamunting.Android.CenkGun.ChatBar -Version 1.0.5
dotnet add package Karamunting.Android.CenkGun.ChatBar --version 1.0.5
<PackageReference Include="Karamunting.Android.CenkGun.ChatBar" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Karamunting.Android.CenkGun.ChatBar --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ChatBar for Android

A sweet message box designed for Xamarin.Android developers.
Original (Java) library by https://github.com/CenkGun/ChatBar

Example

cb = FindViewById<ChatBarView>(R.Id.chatbar);
cb.SetMessageBoxHint("This is a Hint Message");
cb.SetSendClickListener(
    v => {
        Toast.MakeText(this, "Sending love", ToastLength.Short).Show();
    }
);

cb.SetOnMicListener(
    v => {
        Toast.MakeText(this, "Recording...", ToastLength.Short).Show();
        return true;
    }
);

or

cb.SendClick += (s,e) => Toast.MakeText(this, "Sending love", ToastLength.Short).Show();

cb.MicClick += (s,e) => {
    Toast.MakeText(this, "Recording...", ToastLength.Short).Show();
    return true;
};

Changelogs:

  • Add eventhandler SendClick & MicClick.
  • Restore removed .SetMessageBoxHint() method.

ChatBar for Android

A sweet message box designed for Xamarin.Android developers.
Original (Java) library by https://github.com/CenkGun/ChatBar

Example

cb = FindViewById<ChatBarView>(R.Id.chatbar);
cb.SetMessageBoxHint("This is a Hint Message");
cb.SetSendClickListener(
    v => {
        Toast.MakeText(this, "Sending love", ToastLength.Short).Show();
    }
);

cb.SetOnMicListener(
    v => {
        Toast.MakeText(this, "Recording...", ToastLength.Short).Show();
        return true;
    }
);

or

cb.SendClick += (s,e) => Toast.MakeText(this, "Sending love", ToastLength.Short).Show();

cb.MicClick += (s,e) => {
    Toast.MakeText(this, "Recording...", ToastLength.Short).Show();
    return true;
};

Changelogs:

  • Add eventhandler SendClick & MicClick.
  • Restore removed .SetMessageBoxHint() method.

Version History

Version Downloads Last updated
1.0.5 226 11/3/2018
1.0.2 2,720 7/13/2017