Skip to content

jsalkovic/Facebook-Jetpack-Compose-Clone

Repository files navigation

Facebook Jetpack Compose Clone

Jetpack Compose clone of Facebook UI.

Facebook Compose

About

Facebook Jetpack Compose Clone is an Facebook clone app built entirely with Jetpack Compose. Version of Jetpack Compose that was used in this project is 1.0.0-beta01.

This sample showcases:

  • Splash and Home screen
  • Status update
  • Show stories and their animations when loading
  • Show posts with images
  • Like posts
  • Comment posts

Tools that are used in this project are as follows:

Setup

Architecture

In this project, custom MVVM architecture based on ViewStates was used: link.

Design

Design that was used in this project: link

Customization

  • All data was mocked and it's located here.
  • To customize stories, just modify getStories() method.
  • To customize posts, just modify getPosts() method.
  • To change current active user, which is needed for status update and comments, go inside UserManager and provide your own data.

Status: 🚧 In progress 🚧

Facebook Jetpack Compose Clone is still under development and some screens are not implemented yet.

License

Copyright 2020 Josip Šalković

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.