Giter Club home page Giter Club logo

carguo / gsygithubappkotlin Goto Github PK

View Code? Open in Web Editor NEW
1.4K 1.4K 245.0 3.03 MB

超完整的Android Kotlin 项目,功能丰富,适合学习和日常使用。GSYGithubApp系列的优势:目前已经拥有Flutter、Weex、ReactNative、Kotlin四个版本。 功能齐全,项目框架内技术涉及面广,完成度高。开源Github客户端App,更好的体验,更丰富的功能,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验Σ( ̄。 ̄ノ)ノ。同款Weex版本: https://github.com/CarGuo/GSYGithubAppWeex 、同款React Native版本 : https://github.com/CarGuo/GSYGithubApp 、 同款Flutter版本: https://github.com/CarGuo/GSYGithubAppFlutter

Home Page: https://juejin.im/user/582aca2ba22b9d006b59ae68/posts

License: Apache License 2.0

Kotlin 99.39% CMake 0.39% C++ 0.11% AIDL 0.11%
android githubapp jetpack kotlin livedata mvvm

gsygithubappkotlin's Introduction

gsygithubappkotlin's People

Contributors

carguo avatar carguosmall avatar mingh24 avatar xiangbill 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gsygithubappkotlin's Issues

android api 兼容性问题 系统弹窗

具体地址g.co/dev/appcompat ...
可以先用这个解决下反射引起的弹窗问题..
private void closeAndroidPDialog(){
if (Build.VERSION.SDK_INT >= 28){
try {
Class aClass = Class.forName("android.content.pm.PackageParser$Package");
Constructor declaredConstructor = aClass.getDeclaredConstructor(String.class);
declaredConstructor.setAccessible(true);
} catch (Exception e) {
e.printStackTrace();
}
try {
Class cls = Class.forName("android.app.ActivityThread");
Method declaredMethod = cls.getDeclaredMethod("currentActivityThread");
declaredMethod.setAccessible(true);
Object activityThread = declaredMethod.invoke(null);
Field mHiddenApiWarningShown = cls.getDeclaredField("mHiddenApiWarningShown");
mHiddenApiWarningShown.setAccessible(true);
mHiddenApiWarningShown.setBoolean(activityThread, true);
} catch (Exception e) {
e.printStackTrace();
}

    }
}

CMakeLists.txt问题

Cause: executing external native build for cmake E:\project\GSYGithubAppKotlin-master\app\CMakeLists.txt
这个文件编译和运行时候报错

test

ttt `` * * * *

反馈

我是欧阳,测试反馈。

dagger 疑问

大佬我照你项目的写法,尝试写自己的项目

@Named("main")
@Provides
fun providerMainFragmentList():List<Fragment>{
    return listOf(HomeFragment(),HomeFragment(),HomeFragment(),HomeFragment(),HomeFragment())
 }

@Provides
@Named("home")
fun  providerHomeFragmentList():List<Fragment>{
    return listOf(HomeRecommendListFragment(),HomeRecommendListFragment(),HomeRecommendListFragment(),HomeRecommendListFragment())
}

@field:[Inject Named("home")]
lateinit var homeFragmentList: MutableList<Fragment>

@field:[Inject Named("main")]
lateinit var mainFragmentList: MutableList<Fragment>

如果不旋转屏幕是可以正常注入fragment以及activity.

也就是主页activity->嵌套5个fragment->嵌套4个fragment
当屏幕发生旋转时 崩溃并提示 Caused by: kotlin.UninitializedPropertyAccessException: lateinit property dispatchingAndroidInjector has not been initialized..
当主页activity->嵌套5个fragment 不加载4个fragment时是可以正常旋转的。。

反馈

** ** ** ** * * ``


#gggg

Ndk配置报错

Error:CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
Configuration failed.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
Configuration failed.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
Configuration failed.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
Configuration failed.
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':app'.

executing external native build for cmake F:\AndroidStudioDemo\GithubOpenDemo\GSYGithubAppKotlin-master\app\CMakeLists.txt

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 4s

反馈

八里街

** ** * * 分墨迹 ``



[]动的,()

反馈

明宫

** ** * * ** ** ** ** ** ** ** ** ** ** * * * * * * * * * * * * ``


明年

suggestion

recommend to use kotlin coroutine instead of RxJava

反馈

详情信息中文出现乱码

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.