This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.fconfig; | |
import android.os.Bundle; | |
import android.support.annotation.NonNull; | |
import android.support.v7.app.AppCompatActivity; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.TextView; | |
import com.google.android.gms.tasks.OnCompleteListener; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void loadFiles(){ | |
new Thread( | |
new Runnable() { | |
@Override | |
public void run() { | |
final Activity activity = getActivity(); | |
if(activity != null && isAdded()){ | |
activity.runOnUiThread(new Runnable() { | |
@Override | |
public void run() { |
NewerOlder