| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -27,10 +27,12 @@ import android.text.method.LinkMovementMethod;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import android.view.LayoutInflater;
 | 
					 | 
					 | 
					 | 
					import android.view.LayoutInflater;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import android.view.View;
 | 
					 | 
					 | 
					 | 
					import android.view.View;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import android.view.WindowManager;
 | 
					 | 
					 | 
					 | 
					import android.view.WindowManager;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import android.widget.ImageButton;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import android.widget.TextView;
 | 
					 | 
					 | 
					 | 
					import android.widget.TextView;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import androidx.annotation.NonNull;
 | 
					 | 
					 | 
					 | 
					import androidx.annotation.NonNull;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import androidx.annotation.Nullable;
 | 
					 | 
					 | 
					 | 
					import androidx.annotation.Nullable;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import androidx.constraintlayout.widget.Group;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import java.io.InputStream;
 | 
					 | 
					 | 
					 | 
					import java.io.InputStream;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -43,10 +45,19 @@ public class FragmentDialogMarkdown extends FragmentDialogBase {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) {
 | 
					 | 
					 | 
					 | 
					    public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        final View dview = LayoutInflater.from(getContext()).inflate(R.layout.dialog_markdown, null);
 | 
					 | 
					 | 
					 | 
					        final View dview = LayoutInflater.from(getContext()).inflate(R.layout.dialog_markdown, null);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        final TextView tvMarkdown = dview.findViewById(R.id.tvMarkdown);
 | 
					 | 
					 | 
					 | 
					        final TextView tvMarkdown = dview.findViewById(R.id.tvMarkdown);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        final ImageButton ibCancel = dview.findViewById(R.id.ibCancel);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        final ContentLoadingProgressBar pbWait = dview.findViewById(R.id.pbWait);
 | 
					 | 
					 | 
					 | 
					        final ContentLoadingProgressBar pbWait = dview.findViewById(R.id.pbWait);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        final Group grpReady = dview.findViewById(R.id.grpReady);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        tvMarkdown.setText(null);
 | 
					 | 
					 | 
					 | 
					        tvMarkdown.setText(null);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        ibCancel.setOnClickListener(new View.OnClickListener() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            @Override
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            public void onClick(View view) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                dismiss();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        Dialog dialog = new Dialog(getContext());
 | 
					 | 
					 | 
					 | 
					        Dialog dialog = new Dialog(getContext());
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        //dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
 | 
					 | 
					 | 
					 | 
					        //dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        dialog.setContentView(dview);
 | 
					 | 
					 | 
					 | 
					        dialog.setContentView(dview);
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -57,13 +68,13 @@ public class FragmentDialogMarkdown extends FragmentDialogBase {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        new SimpleTask<Spanned>() {
 | 
					 | 
					 | 
					 | 
					        new SimpleTask<Spanned>() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            @Override
 | 
					 | 
					 | 
					 | 
					            @Override
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            protected void onPreExecute(Bundle args) {
 | 
					 | 
					 | 
					 | 
					            protected void onPreExecute(Bundle args) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                tvMarkdown.setVisibility(View.GONE);
 | 
					 | 
					 | 
					 | 
					                grpReady.setVisibility(View.GONE);
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                pbWait.setVisibility(View.VISIBLE);
 | 
					 | 
					 | 
					 | 
					                pbWait.setVisibility(View.VISIBLE);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            @Override
 | 
					 | 
					 | 
					 | 
					            @Override
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            protected void onPostExecute(Bundle args) {
 | 
					 | 
					 | 
					 | 
					            protected void onPostExecute(Bundle args) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                tvMarkdown.setVisibility(View.VISIBLE);
 | 
					 | 
					 | 
					 | 
					                grpReady.setVisibility(View.VISIBLE);
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                pbWait.setVisibility(View.GONE);
 | 
					 | 
					 | 
					 | 
					                pbWait.setVisibility(View.GONE);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |