├── .gitignore ├── .idea └── .gitignore ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── wbinarytree │ │ └── github │ │ └── io │ │ └── twivy │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── wbinarytree │ │ │ └── github │ │ │ └── io │ │ │ └── twivy │ │ │ ├── TwivyApp.kt │ │ │ ├── database │ │ │ ├── TwivyDatabase.kt │ │ │ ├── converter │ │ │ │ └── DateConverter.kt │ │ │ └── daos │ │ │ │ ├── BaseDao.kt │ │ │ │ └── TweetDao.kt │ │ │ ├── di │ │ │ ├── RepositoryComponent.kt │ │ │ └── RepositoryModule.kt │ │ │ ├── glide │ │ │ └── GlideModule.kt │ │ │ ├── model │ │ │ ├── Conversion.kt │ │ │ ├── Tweet.kt │ │ │ └── User.java │ │ │ ├── repos │ │ │ ├── AuthManager.kt │ │ │ ├── TweetRepository.kt │ │ │ └── impl │ │ │ │ ├── TweetDataSourceFactory.kt │ │ │ │ ├── TweetRepositoryImpl.kt │ │ │ │ └── TwitterAuthManager.kt │ │ │ ├── ui │ │ │ ├── base │ │ │ │ ├── BaseActivity.kt │ │ │ │ ├── BaseFragment.kt │ │ │ │ ├── BaseTranslator.kt │ │ │ │ ├── BaseUiActivity.kt │ │ │ │ └── BaseUiFragment.kt │ │ │ ├── feed │ │ │ │ ├── Events.kt │ │ │ │ ├── FeedActivity.kt │ │ │ │ ├── FeedTranslator.kt │ │ │ │ └── TweetPagingAdapter.kt │ │ │ └── login │ │ │ │ ├── Event.kt │ │ │ │ ├── FeedDataSource.kt │ │ │ │ ├── LoginTranslator.kt │ │ │ │ └── MainActivity.kt │ │ │ └── utils │ │ │ └── Extensions.kt │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_launcher_background.xml │ │ ├── logo_resize.xml │ │ ├── logo_twitter.png │ │ └── shape_button_login.xml │ │ ├── layout │ │ ├── activity_feed.xml │ │ ├── activity_main.xml │ │ └── item_tweet.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ ├── styles.xml │ │ └── twivy_callback.xml │ └── test │ └── java │ └── wbinarytree │ └── github │ └── io │ └── twivy │ └── ExampleUnitTest.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── img ├── redux-arch.jpeg ├── twivy_1.jpeg └── twivy_2.jpeg └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/wbinarytree/github/io/twivy/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/androidTest/java/wbinarytree/github/io/twivy/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/TwivyApp.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/TwivyApp.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/database/TwivyDatabase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/database/TwivyDatabase.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/database/converter/DateConverter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/database/converter/DateConverter.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/database/daos/BaseDao.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/database/daos/BaseDao.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/database/daos/TweetDao.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/database/daos/TweetDao.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/di/RepositoryComponent.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/di/RepositoryComponent.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/di/RepositoryModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/di/RepositoryModule.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/glide/GlideModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/glide/GlideModule.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/model/Conversion.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/model/Conversion.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/model/Tweet.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/model/Tweet.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/model/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/model/User.java -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/repos/AuthManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/repos/AuthManager.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/repos/TweetRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/repos/TweetRepository.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/repos/impl/TweetDataSourceFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/repos/impl/TweetDataSourceFactory.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/repos/impl/TweetRepositoryImpl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/repos/impl/TweetRepositoryImpl.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/repos/impl/TwitterAuthManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/repos/impl/TwitterAuthManager.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseFragment.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseTranslator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseTranslator.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseUiActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseUiActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseUiFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/base/BaseUiFragment.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/feed/Events.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/feed/Events.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/feed/FeedActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/feed/FeedActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/feed/FeedTranslator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/feed/FeedTranslator.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/feed/TweetPagingAdapter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/feed/TweetPagingAdapter.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/login/Event.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/login/Event.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/login/FeedDataSource.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/login/FeedDataSource.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/login/LoginTranslator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/login/LoginTranslator.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/ui/login/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/ui/login/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/wbinarytree/github/io/twivy/utils/Extensions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/java/wbinarytree/github/io/twivy/utils/Extensions.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/logo_resize.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/drawable/logo_resize.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/logo_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/drawable/logo_twitter.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_button_login.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/drawable/shape_button_login.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_feed.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/layout/activity_feed.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/item_tweet.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/layout/item_tweet.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/main/res/values/twivy_callback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/main/res/values/twivy_callback.xml -------------------------------------------------------------------------------- /app/src/test/java/wbinarytree/github/io/twivy/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/app/src/test/java/wbinarytree/github/io/twivy/ExampleUnitTest.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/gradlew.bat -------------------------------------------------------------------------------- /img/redux-arch.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/img/redux-arch.jpeg -------------------------------------------------------------------------------- /img/twivy_1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/img/twivy_1.jpeg -------------------------------------------------------------------------------- /img/twivy_2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbinarytree/Twivy/HEAD/img/twivy_2.jpeg -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------