potray / pacts Goto Github PK
View Code? Open in Web Editor NEWA project for fun.
License: GNU General Public License v2.0
A project for fun.
License: GNU General Public License v2.0
A profile activity for a logged in user. You can modify it as well.
Add functionality for cancelling friend requests.
The pact type is checked for emptyness when it shouldn't
This happens in the production version (REMEMBER TO FORK DARNIT!). Fragment arguments are set after fragments are attached. A way to solve this might be to create the fragments in the OnPostExecute method of the Asynctask.
CRUD for users.
An user can find a friend (by email), send a friend request, and accept friend requests for others.
The screen needs to scroll.
java.lang.IllegalStateException: Cannot execute task: the task has already been executed (a task can be executed only once)
at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:583)
at android.os.AsyncTask.execute(AsyncTask.java:539)
at es.potrayarrick.pacts.MainActivity.onFriendRequestInteraction(MainActivity.java:320)
at es.potrayarrick.pacts.FriendRequestFragment.onFriendRequestInteraction(FriendRequestFragment.java:179)
at es.potrayarrick.pacts.FriendRequestFragment.access$100(FriendRequestFragment.java:26)
at es.potrayarrick.pacts.FriendRequestFragment$FriendRequestsArrayAdapter$1.onClick(FriendRequestFragment.java:227)
at android.view.View.performClick(View.java:4780)
at android.view.View$PerformClick.run(View.java:19866)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
From the friend profile fragment, a user proposes a pact to that friend. We need:
A drawer is needed to navigate between profile, friends and pacts.
Document the darn project!
If a user logs in there should be a cookie used in future requests to the server.
The drawer is accessible via swipe when the data is loading. This must be fixed.
It also starts shown when the application is first opened.
It's similar to accepting a friend request. We need to add this functionality:
Define the model for a pact:
A user must be able to create and retreive pact types.
The pacts fragment should show the pacts of the user. We need to:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Iterator java.util.ArrayList.iterator()' on a null object reference
at es.potrayarrick.pacts.FriendRequestFragment.onCreateView(FriendRequestFragment.java:121)
at android.app.Fragment.performCreateView(Fragment.java:2053)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:894)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
at android.app.BackStackRecord.run(BackStackRecord.java:834)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:447)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
A bunch of code was released in this commit. Clean it.
We need a fragment that shows a pact information and lets users do some actions. We need this fragment to:
An activity that shows all your friends.
Search for a friend and send a friend request.
An user can send a fulfill request to the other user of a pact. We need this functionality:
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.