Giter Site home page Giter Site logo

instagram-clone-kotlin's Introduction

Instagram-Clone-Kotlin

Youtube videos source code for Instagram clone written in Kotlin. Watch Full Course >>> Instagram Clone Course

github-preview

How to use this app

  1. Register to firebase and create firebase application
  2. Add android application with the package name com.alexbezhan.instagram
  3. Download google-services.json and add it to inside app folder
  4. Run the app

instagram-clone-kotlin's People

Contributors

alexbezhan avatar omurbekjk avatar sergeysharipov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

instagram-clone-kotlin's Issues

Common issues

  • Forgetting to pass ViewModelFactory to ViewModelProvider
  • Forgetting to add failure listener for a task(and show toast)

Testable view models

  1. Move firebase code from view models.
  2. Move logic from activity inside view models.

Reduce starting Activity boilerplate

An Activity may be started from different places. And it may need some required parameters.

It's better to have a single typesafe method that starts activity and thus will warn me at compile time if I forgot to add some parameter.

Firebase

How to setup firebase sir?
Can you explain me :) ?

Sign-Up Error Message

Hello,

I followed the steps to add the app to firebase, and I installed it on my phone. I also enabled email/password authentication in firebase.

When I try to sign up, the app complains that the email used for registration is already registered. However, when I quit the app and start it again, I see that I can sign in i.e. the registration is successful in spite of getting the error message.

Any thoughts?

Thanks.

Wrong image crop in feed

Weird crop of image in the feed after going back from comments activity.
It also happens on post like.

Extract Firebase access into separate layer

I certainly need to keep some persistence logic in a single place without duplication.

It should help avoid duplication and at the same time keep things simple.

So I think it's gonna be a simple domain layer with both logic and Firebase access code in it.

It could be written in two layers like Presenter + Repository, but we don't need a separate repository layer, since Firebase already manages offline mode and caching for us really well.

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.