figui / contactlist Goto Github PK
View Code? Open in Web Editor NEWContactList Android Sample
ContactList Android Sample
Please don't merge View logic inside the AsyncTask. You should improve the separation of concerns, don't mess view logic and API logic. For decoupling this, you can use Otto library:
You need the Support libraries to cover the entire Android platform.
Definitely much better than before. Some minor details:
You are using Holo Design for old Android devices "android:Theme.Holo.Light.DarkActionBar".
This can be avoid by using the latest versions of support library (v7 and Design), which includes Toolbar and some Material design widgets. This allow you to provide Material design for each version of Android starting from 2.1.
Remember that Interfaces in Java has always public methods. You don't need to declare each method as public explicit.
If you see each 'Parcelable' that you implemented, you can see a linter error which says that the "creator" is missing. This need to be implemented in each case.
Optimize unused imports on source files.
Don't use 'Serializable' for entities, implement 'Parcelable' in those cases.
Please don't push any IDE-specific files to the repository, you should add them to "gitignore" file.
Use RecyclerView instead of ListView. You need the support library for this.
The MinSDK for this project is API 22. You need to provide support for older Android versions. For example, starting from API 14.
Please, commit the root folder of the project, including the Gradle Wrapper files (gradlew file and folder). Exclude the 'build' and '.idea' folders.
Don't need to reinvent the wheel for REST calls, JSON handling and Cache handling.
Please, use the corresponding libraries for this, like Retrofit, GSON, Picasso, etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.