juanchosaravia / keddit Goto Github PK
View Code? Open in Web Editor NEWKeddit: A Reddit Android client using Kotlin (Retrofit, RxJava, RxAndroid...)
Keddit: A Reddit Android client using Kotlin (Retrofit, RxJava, RxAndroid...)
Hello and thank you for writing an amazing tutorial on Kotlin for Android. To improve the tutorial even further, I've manually created a list of some little spelling errors I've found on the website of the tutorial. I hope you'll use it for the best.
https://medium.com/@juanchosaravia/learn-kotlin-while-developing-an-android-app-introduction-567e21ff9664#.wcgi0xk9j I've found the next grammar/English typing errors:
First I will say the original text, then the correct way of saying it.
Example: "this is the original tekst" --> "this is the original text"
I'm now tired of watching these ones. I hope this is helpful for you!
First of all, thanks a lot for the article and for this repository with the example, you do a great job here π
But I thought some things to you add on the example, if possible.
Make a unit test for the activity using the rxjava to answer some questions.
Questions like:
How you can config the test to deal with the schedulers into the activity?
How to assert the result of one observable?
i still got the problem.
data class Photo(var path: String,
var id: Int = 0) : Parcelable {
protected constructor(parcel: Parcel): this(
parcel.readString(),
parcel.readInt()
)
companion object {
val CREATER = createParcel {
Photo(it)
}
}
override fun writeToParcel(dest: Parcel, flags: Int) {
dest.writeString(path)
dest.writeInt(id)
}
override fun describeContents() = 0
}
var bundle = Bundle()
bundle.putParcelableArrayList(Actions.Extra.PG_ALBUM, mPhotoLists.readTyped)
val intent = Intent(mContext, PhotoPickLargePhotoActivity::class.java)
intent.putExtras(bundle)
when i got the data through data.getParcelableArrayList(Actions.Extra.PG_ALBUM)
i got an error:Parcelable protocol requires a Parcelable.Creator object called CREATOR
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.