Android Open Source - ShareManager Dialog Adapter

From Project

Back to project page ShareManager.


The source code is released under:

Copyright (c) 2013, Nelspike All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Red...

If you think the Android project ShareManager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package share.manager.adapters;
//w  ww .  j  a  v  a 2s .  com
import android.content.Context;
import android.content.DialogInterface;

public class DialogAdapter {

  public static void connectionIssues(final Context context) {
    AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);

    alertDialogBuilder.setTitle("Connection Expired");

            "Can't reach the server at the moment. Restart the app, and try again.")
        .setPositiveButton("OK", new DialogInterface.OnClickListener() {
          public void onClick(DialogInterface dialog, int id) {

    AlertDialog alertDialog = alertDialogBuilder.create();;


Java Source Code List