yoavst
11/17/2015, 10:32 AMkittinunf
11/17/2015, 10:33 AMmplatvoet
11/17/2015, 8:30 PMq
parameter is where I hit an issue. I want it to have the value android language:kotlin
so I add it to a the list as "q" to "android language:kotlin”
. But I seem to hit a duplicate encoding issue where the result is q=android+language%253Akotlin
.mplatvoet
11/17/2015, 8:31 PM:
is encoded to %3A
which in turn gets encoded as %253A
mplatvoet
11/17/2015, 8:32 PMyoavst
11/17/2015, 8:36 PMmplatvoet
11/17/2015, 8:38 PMmplatvoet
11/17/2015, 8:38 PMmplatvoet
11/17/2015, 8:39 PMyoavst
11/17/2015, 9:42 PMmplatvoet
11/17/2015, 10:45 PMkittinunf
11/18/2015, 3:58 AMkittinunf
11/18/2015, 5:04 AMmplatvoet
11/18/2015, 5:58 AMkittinunf
11/18/2015, 6:01 AM<https://api.github.com/search/repositories?q=android%20language:kotlin&sort=updated&order=desc>
right?mplatvoet
11/18/2015, 6:07 AMmplatvoet
11/18/2015, 6:08 AMkittinunf
11/18/2015, 11:18 AMmplatvoet
11/18/2015, 11:54 AMmplatvoet
11/18/2015, 7:52 PMmplatvoet
11/18/2015, 8:17 PMkittinunf
11/19/2015, 3:42 AMkittinunf
11/19/2015, 3:43 AMhon
11/20/2015, 11:20 AMhon
11/20/2015, 11:20 AMkittinunf
11/21/2015, 7:48 AMkittinunf
11/21/2015, 7:49 AMkittinunf
12/01/2015, 7:07 PMResult
instead. So, it favors Result.Success
& Result.Failure
to check success/failure of the operation after network call is finished. It leads to better understanding than the old Either
version of Left
& Right
.mplatvoet
12/01/2015, 7:17 PMkittinunf
12/02/2015, 4:02 AMSuccess
is something more desirable than Failure
. So it comes first in the type declaration as Result<V, E>
. To be consistent, component1()
and component2()
should be ordered in the same way.