guolindev / giffun Goto Github PK
View Code? Open in Web Editor NEW一款开源的GIF在线分享App,乐趣就要和世界分享。
License: Apache License 2.0
一款开源的GIF在线分享App,乐趣就要和世界分享。
License: Apache License 2.0
火钳刘明
可能跟glide 有关,我把同样的图片放在qq播放就没问题,具体可以去app搜我的昵称:rhyma
项目中所有的R文件都报红,但是项目能运行。有说是因为app过大,超过了R文件的默认大小。这样配置了idea.max.intellisense.filesize=5000 也是不行的。请问,这个怎么办呢?
You look so handsome!
Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle.
支持郭神
git glone下来了。
编译之后没有R文件,没法点 ctrl + 左键 去看布局 还有一堆的标红是真的难受啊。
奇怪的是,项目居然能运行,app能跑起来,也不报错。这我想要找那个资源文件出错了去改都没地儿找。是真的难受啊。
ModifyUserInfoActivity,问题不是出现在该文件中的代码(具体位置我没找到),点击该页面的昵称EditText,程序崩溃,闪退。手机:Google Nexus API26。
输入手机号,点击发送验证码按钮之后,发现手机号输入错误,这时候修改了手机号,但是按钮还在倒计时,不可点击,这一点可否稍作修改呢?
有些手机底部存在虚拟键(隐藏按钮,返回按钮,home按钮,多任务按钮)。在页面主页,先把虚拟键隐藏,然后任意点一个gif进入,发现会黑一下。其实页面已经打开,但是内容是透明的。测试发现,应该只要有共享元素的地方,隐藏虚拟键都会出现这问题。
首页的三个RecyclerView是怎么实现下拉加载和预加载的。我现在很想实现这个效果,但是Kotlin不太懂。
火钳留名...学习大神!
立个flag,这个项目我一定要吃透,吃透,吃透
从昨天中午一直盯着,看着上传好慢,捉急死我了
2019-01-29 10:57:51.587 3986-3986/com.quxianggif.opensource E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.quxianggif.opensource, PID: 3986
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference
at android.support.v4.content.FileProvider.parsePathStrategy(FileProvider.java:604)
at android.support.v4.content.FileProvider.getPathStrategy(FileProvider.java:578)
at android.support.v4.content.FileProvider.getUriForFile(FileProvider.java:416)
at com.quxianggif.user.ui.ModifyUserInfoActivity.takePhoto(ModifyUserInfoActivity.kt:464)
at com.quxianggif.user.ui.ModifyUserInfoActivity.access$takePhoto(ModifyUserInfoActivity.kt:73)
at com.quxianggif.user.ui.ModifyUserInfoActivity$showTakePictureDialog$1.onClick(ModifyUserInfoActivity.kt:435)
at android.support.v7.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1067)
at android.widget.AdapterView.performItemClick(AdapterView.java:318)
at android.widget.AbsListView.performItemClick(AbsListView.java:1159)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3136)
at android.widget.AbsListView$3.run(AbsListView.java:4052)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
"严禁用于任何商业用途,否则我将保持一切追究法律责任的权力。" 应该是保留一切追究法律责任的权力吧。
Error:The module 'core' is an Android project without build variants, and cannot be built.
Please fix the module's configuration in the build.gradle file and sync the project again.
“当然,如果你是通过这个App的源码学到了很多知识,然后应用到了自己的项目当中,这种我是非常欢迎的,但如果只是在我的源码基础上稍微改了改代码或者界面,然后就拿去用作赚钱目的,这种行为是不被允许的。”
Apache License 2.0,商用完全是可以的。。。。防止在非授权的情况下商用,建议使用GPL,LGPL,AGPL等协议
设置页面每次有Switch状态切换的时候都会触发onSharedPreferenceChanged方法 这样会导致 自动检查更新为关时再切换其他的Switch都会弹出Toast
郭神,登陆后返回应该直接退出程序,不应该回到手机号验证码登陆页面了
java.lang.NoClassDefFoundError: Could not initialize class com.android.build.gradle.internal.crash.PluginCrashReporter
开源了,star 一波,后续学习参考一下。
所以源码呢?
比较好奇独立开发app的市场怎么样,请问郭神方便透露一下当前的dau or mau么?
当然,这些建议只是我的个人意见:
fun RecyclerView.exVerticalItemDecoration(context: Context):RecyclerView{
this.addItemDecoration(DividerItemDecoration(context, DividerItemDecoration.VERTICAL))
return this
}
fun <T: BindingRecycleViewAdapter> RecyclerView.exAdapter(adapter:T):RecyclerView{
this.adapter = adapter
return this
}
fun RecyclerView.exVerticalLinearLayoutManager(context: Context):RecyclerView{
this.layoutManager = LinearLayoutManager(context, LinearLayoutManager.VERTICAL,false)
return this
}
fun RecyclerView.exItemClick(listener:(RecyclerView.ViewHolder)->Unit):RecyclerView{
this.addOnItemTouchListener(RecyclerViewOnItemTouchListener(this, itemClickListener = listener))
return this
}
于是初始化recycleview时,我可以这样:
binding.recyclerView
.exVerticalLinearLayoutManager(this)
.exAdapter(scriptAdapter)
.exVerticalItemDecoration(this)
.exItemClick { vh ->
val script = scriptAdapter.getItem(vh.adapterPosition)
App.talk(script.name)
}
Can provide a java version code? Thank you!
demo跑起来了 获取验证码的api 没有任何反应????
还没有掌握 Kotlin~
有的话具体是怎么处理的
单例可以使用同一个连接池,项目里每一个request都新建了一个
有遇到导入项目没法生成R.java的情况?我试了很多种办法,但没有解决
hi,有没有java版本的。
目前还不打算学kotlin。因为kotlin在工作上用不到。
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.