Skip to content

sohamtriveous/AppMsgSample

Repository files navigation

AppMsgSample

Shows how one can use the AppMsg library to create a persistent toast/notification-like-view at the bottom.

###Sample

To show the notification

MessageUtils.showAppMsg(this, new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {
                        Toast.makeText(MainActivity.this, "I have clicked the app message", Toast.LENGTH_SHORT).show();
                    }
                });

To hide the notification

MessageUtils.cancelAll(this);

About

Shows how one can use the AppMsg library to create a persistent toast/notification-like-view at the bottom.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors