DialogFragment onStop - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for DialogFragment onStop method.

This code example shows how to use the following methods:onStop, getActivity
    } 
  } 
 
  @Override 
  public void onStop() { 
    super.onStop(); 
 
    if(IS_NFC_SUPPORTED) {
      stopNfc(); 
    } 
 
    mStatusCheckTimer.cancel();
  } 
 
  @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
  private void startNfc(String uri) {
 
    if(getActivity() != null && NfcAdapter.getDefaultAdapter(getActivity()) != null) {
 
      NdefMessage message = new NdefMessage(new NdefRecord[] { NdefRecord.createUri(uri) });

6
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:onStop, getActivity
    } 
  } 
 
  @Override 
  public void onStop() { 
    super.onStop(); 
     
    if(IS_SUPPORTED) {
      stopNfc(); 
    } 
  } 
 
  @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
  private void startNfc(String uri) {
 
    if(getActivity() != null && NfcAdapter.getDefaultAdapter(getActivity()) != null) {
       
      NdefMessage message = new NdefMessage(new NdefRecord[] { NdefRecord.createUri(uri) });
      NfcAdapter.getDefaultAdapter(getActivity()).setNdefPushMessage(message, getActivity());
    } 

5
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:onStop
    return builder.create();
  } 
 
  @Override 
  public void onStop() { 
    super.onStop(); 
     
    Utils.disposeOfEmailAutocompleteAdapter(mAutocompleteAdapter);
  } 
 
} 
4
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:onStop
		super.onDismiss(di);
	}; 
 
	@Override 
	public void onStop() { 
	    super.onStop(); 
	    if (DEBUG_ENABLE) Log.v(APPLICATION_TAG,"onStop");
	}; 
	 
	@Override 
	public void onDestroyView() { 
		if (DEBUG_ENABLE) Log.v(APPLICATION_TAG,"onDestroyView");
	    if (getDialog() != null && getRetainInstance())
	        getDialog().setDismissMessage(null);
	    super.onDestroyView(); 
	}; 
	 
	@Override 
	public void onDetach() { 
	    super.onDetach(); 
4
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:onStop
     * </blockquote> 
     */ 
    @Override 
    public void onStop() { 
        Log.v(TAG, "onStop");
        super.onStop(); 
    } 
 
    /** 
     * <blockquote> 
     * onDestroyView()が呼ばれたら、FragmentはViewに紐付くリソースの開放を行います。 
     * </blockquote> 
     * 
     * <blockquote> 
     * onDestroyView() allows the fragment to clean up resources associated with its View. 
     * </blockquote> 
     */ 
    @Override 
    public void onDestroyView() { 
        Log.v(TAG, "onDestroyView");
3
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
This code example shows how to use the following methods:onStop
  public void onPause() { Log.d(logNavn,"onPause()"); super.onPause(); }
 
  /** 
   * Når fragmentet ikke mere er synlig 
   */ 
  public void onStop() { Log.d(logNavn,"onStop()"); super.onStop(); }
 
  public void onDestroyView() { Log.d(logNavn,"onDestroyView()"); super.onDestroyView(); }
 
  /** 
   * Når fragmentet bliver nedlagt 
   */ 
  public void onDestroy() { Log.d(logNavn,"onDestroy()"); super.onDestroy(); }
 
  public void onDetach() { Log.d(logNavn,"onDetach()"); super.onDetach(); }
} 
4
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
onStop Method Overview
Called when the Fragment is no longer started.
See Code Examples for other Android DialogFragment Methods: