Fix MarkdownRenderer
This commit is contained in:
		
							parent
							
								
									6c8f1c04bb
								
							
						
					
					
						commit
						6a06e56c1c
					
				| @ -10,7 +10,6 @@ import androidx.annotation.NonNull; | |||||||
| import androidx.annotation.Nullable; | import androidx.annotation.Nullable; | ||||||
| 
 | 
 | ||||||
| import java.util.concurrent.ExecutorService; | import java.util.concurrent.ExecutorService; | ||||||
| import java.util.concurrent.Executors; |  | ||||||
| import java.util.concurrent.Future; | import java.util.concurrent.Future; | ||||||
| 
 | 
 | ||||||
| import javax.inject.Inject; | import javax.inject.Inject; | ||||||
| @ -19,7 +18,6 @@ import io.noties.debug.Debug; | |||||||
| import io.noties.markwon.AbstractMarkwonPlugin; | import io.noties.markwon.AbstractMarkwonPlugin; | ||||||
| import io.noties.markwon.Markwon; | import io.noties.markwon.Markwon; | ||||||
| import io.noties.markwon.MarkwonConfiguration; | import io.noties.markwon.MarkwonConfiguration; | ||||||
| import io.noties.markwon.PrecomputedTextSetterCompat; |  | ||||||
| import io.noties.markwon.app.gif.GifAwarePlugin; | import io.noties.markwon.app.gif.GifAwarePlugin; | ||||||
| import io.noties.markwon.ext.strikethrough.StrikethroughPlugin; | import io.noties.markwon.ext.strikethrough.StrikethroughPlugin; | ||||||
| import io.noties.markwon.ext.tables.TablePlugin; | import io.noties.markwon.ext.tables.TablePlugin; | ||||||
| @ -75,11 +73,6 @@ public class MarkdownRenderer { | |||||||
| 
 | 
 | ||||||
|         cancel(); |         cancel(); | ||||||
| 
 | 
 | ||||||
| final Markwon markwon = Markwon.builder(context) |  | ||||||
|         .usePlugin(/**/) |  | ||||||
|         .textSetter(PrecomputedTextSetterCompat.create(Executors.newCachedThreadPool())) |  | ||||||
|         .build(); |  | ||||||
| 
 |  | ||||||
|         task = service.submit(new Runnable() { |         task = service.submit(new Runnable() { | ||||||
| 
 | 
 | ||||||
|             @Override |             @Override | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dimitry Ivanov
						Dimitry Ivanov