Skip to content

Endless flow of view nodes, fully written using various android and java features like ExecutorService, Executors, Future, Handler, Looper, Threads, Runnable, Callable, json, http, BlockingDeque, Hashtable, WeakReferences, RecyclerView, various CustomViews...etc

master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

ImageFlow

Similar to pinterest pinboard flow, Fully written using various amazing features of android and java like ExecutorService, Executors, Future, Handler, Looper, Threads, Runnable, Callable, json, http, BlockingDeque, Hashtable, WeakReferences, RecyclerView, various CustomViews...etc

now added in memory caching of files

For geting a file from url, call

IFThreadPoolHandler.getInstance().getFile(String tag, String url, FileType type, new Callback.IFCallBack(){
            @Override
            public void onSuccess(@NonNull TaskModel taskModel) {
               super.onSuccess(taskModel)
                }

            @Override
            public void onError(@NonNull String message) {
                super.onError(message);
                Log.d("onError", message);
            }
        });

For canceling all task, call

 IFThreadPoolHandler.getInstance().stopAndClearAllThreads();

For canceling any particular task, call

IFThreadPoolHandler.getInstance().removeTask(String tag);

todo: proper testing and profiling

About

Endless flow of view nodes, fully written using various android and java features like ExecutorService, Executors, Future, Handler, Looper, Threads, Runnable, Callable, json, http, BlockingDeque, Hashtable, WeakReferences, RecyclerView, various CustomViews...etc

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.