Android Open Source - bankomatinfos Changelog Dialog Fragment






From Project

Back to project page bankomatinfos.

License

The source code is released under:

GNU General Public License

If you think the Android project bankomatinfos 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 at.zweng.bankomatinfos.ui;
/*from  w  w  w .  jav a  2  s .  c  o  m*/
import android.app.Dialog;
import android.app.DialogFragment;
import android.os.Bundle;
import at.zweng.bankomatinfos.util.ChangeLog;

/**
 * Dialog fragment for showing changelog dialog
 * 
 * @author Johannes Zweng <johannes@zweng.at>
 */
public class ChangelogDialogFragment extends DialogFragment {

  private static final String ARG_KEY_SHOW_FULL_CHANGELOG = "show_full_changelog";
  private boolean _showFullChangelog;

  /**
   * Static method for creating a new instance
   * 
   * @param fullChangelog
   *            <code>true</code> if full changelog should be shown,
   *            <code>false</code> if only last chaanges should be shown
   * @return
   */
  public static ChangelogDialogFragment newInstance(boolean fullChangelog) {
    ChangelogDialogFragment f = new ChangelogDialogFragment();
    Bundle args = new Bundle();
    args.putBoolean(ARG_KEY_SHOW_FULL_CHANGELOG, fullChangelog);
    f.setArguments(args);
    return f;
  }

  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    if (getArguments() != null) {
      _showFullChangelog = getArguments().getBoolean(
          ARG_KEY_SHOW_FULL_CHANGELOG);
    } else {
      _showFullChangelog = true;
    }
  }

  @Override
  public Dialog onCreateDialog(Bundle savedInstanceState) {
    if (_showFullChangelog) {
      return new ChangeLog(getActivity()).getFullLogDialog();
    } else {
      return new ChangeLog(getActivity()).getLogDialog();
    }
  }
}




Java Source Code List

at.zweng.bankomatinfos.AppController.java
at.zweng.bankomatinfos.exceptions.NoSmartCardException.java
at.zweng.bankomatinfos.exceptions.TlvParsingException.java
at.zweng.bankomatinfos.iso7816emv.BERTLV.java
at.zweng.bankomatinfos.iso7816emv.ByteArrayWrapper.java
at.zweng.bankomatinfos.iso7816emv.CPLC.java
at.zweng.bankomatinfos.iso7816emv.EMVTags.java
at.zweng.bankomatinfos.iso7816emv.EmvTag.java
at.zweng.bankomatinfos.iso7816emv.EmvUtils.java
at.zweng.bankomatinfos.iso7816emv.GPTags.java
at.zweng.bankomatinfos.iso7816emv.Iso3166CountryCodes.java
at.zweng.bankomatinfos.iso7816emv.Iso4217CurrencyCodes.java
at.zweng.bankomatinfos.iso7816emv.NfcBankomatCardReader.java
at.zweng.bankomatinfos.iso7816emv.TagAndValue.java
at.zweng.bankomatinfos.iso7816emv.TagImpl.java
at.zweng.bankomatinfos.iso7816emv.TagType.java
at.zweng.bankomatinfos.iso7816emv.TagValueType.java
at.zweng.bankomatinfos.model.AbstractTransactionLogEntry.java
at.zweng.bankomatinfos.model.CardInfo.java
at.zweng.bankomatinfos.model.EmvTransactionLogEntry.java
at.zweng.bankomatinfos.model.InfoKeyValuePair.java
at.zweng.bankomatinfos.model.QuickTransactionLogEntry.java
at.zweng.bankomatinfos.ui.AboutDialogFragment.java
at.zweng.bankomatinfos.ui.ChangelogDialogFragment.java
at.zweng.bankomatinfos.ui.ListAdapterEmvTransactions.java
at.zweng.bankomatinfos.ui.ListAdapterInfos.java
at.zweng.bankomatinfos.ui.ListAdapterQuickTransactions.java
at.zweng.bankomatinfos.ui.MainActivity.java
at.zweng.bankomatinfos.ui.NfcDisabledActivity.java
at.zweng.bankomatinfos.ui.ResultActivity.java
at.zweng.bankomatinfos.ui.ResultEmvTxListFragment.java
at.zweng.bankomatinfos.ui.ResultInfosListFragment.java
at.zweng.bankomatinfos.ui.ResultLogFragment.java
at.zweng.bankomatinfos.ui.ResultQuickTxListFragment.java
at.zweng.bankomatinfos.ui.SettingsActivity.java
at.zweng.bankomatinfos.util.ChangeLog.java
at.zweng.bankomatinfos.util.CustomAlertDialog.java
at.zweng.bankomatinfos.util.Utils.java