Giter VIP home page Giter VIP logo

github_users's Introduction

GitHub Users

A Flutter application which implements BLoC pattern and displays a list of Github users, allows you to filter and search for users.

The main screen of the app shows a list of users which is divided into three tabs. The first tab displays users, which names start from A-H letter, the second - from I to P and the third - from Q to Z. The user can switch between lists by swiping left and right or pressing the tabs. Each list item contains the following user data: avatar, name, number of followers, and following users.

Main screen, filtering by name from A to H Main screen, filtering by name from I to P Main screen, filtering by name from Q to Z

The application loads the list of users in small chunks of 15 people using asynchronous requests to the GitHub REST API. Then the users are filtered according to the current tab and displayed on the screen. Unfiltered users are saved in order to avoid repeated calls to API and load it quickly after switching to another tab. When the user reaches the end of the loaded list, another batch of 15 people starts loading and filtering, which we can see in the third screenshot above.

In order to find GitHub users by login, the user needs to click on the corresponding field at the top. The search screen opens. The search occurs as characters are entered with a delay of half a second to avoid frequent API calls. When searching, the data is loaded in parts to ensure the responsiveness of the interface. In addition to the list of found users, the number of found users is also displayed.

Search screen, results for 'an' query Search screen, results for 'anet' query Search screen, results for 'anetty' query

github_users's People

Contributors

vladamamutova avatar

Watchers

 avatar  avatar  avatar

Forkers

tark

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.