Coder Social home page Coder Social logo

instamaterial's People

Contributors

frogermcs avatar matthewmichihara avatar rafaeltoledo 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  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

instamaterial's Issues

F-Droid

Hi,

Since this app is Apache 2 licensed, are you considering the fact to add it to F-Droid? There is a strong community behind, that do not use Google Play nor anything else, except F-Droid.

You can find some documentation here.

You can write a small new build flavor to exclude non-free binaries and libraries.

could not take a picture

this is what i got when i'm trying to take a picture with my Galaxy S4

04-02 16:03:11.991 27490-27490/io.github.froger.instamaterial E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: io.github.froger.instamaterial, PID: 27490
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1747)
at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:308)
at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:279)
at io.github.froger.instamaterial.ui.activity.TakePhotoActivity.onTakePhotoClick(TakePhotoActivity.java:145)
at io.github.froger.instamaterial.ui.activity.TakePhotoActivity$$ViewInjector$1.doClick(TakePhotoActivity$$ViewInjector.java:35)
at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
at android.view.View.performClick(View.java:4633)
at android.view.View$PerformClick.run(View.java:19330)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5356)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at dalvik.system.NativeStart.main(Native Method)

Error: Suspicious namespace and prefix combination [NamespaceTypo]

workspace/InstaMaterial/app/src/main/res/layout/activity_publish.xml:3: Error: Suspicious namespace and prefix combination [NamespaceTypo]
xmlns:app="http://schemas.android.com/tools"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Explanation for issues of type "NamespaceTypo":
Accidental misspellings in namespace declarations can lead to some very
obscure error messages. This check looks for potential misspellings to help
track these down.

1 errors, 0 warnings
:app:lintVitalRelease FAILED

FAILURE: Build failed with an exception.

Can't open project in Android Studio

This is the error I get :

Failed to set up Android modules in project 'InstaMaterial-master': Unsupported method: SourceProvider.getJniDirectories().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.

Strange bug on low RAM devices.

When I test this app on devices with less than 1.5GB of RAM, the app starts the first time. But then crashes. Or it crashes specifically when accessing to the "CommentsActivity". (API 18)
The only log shown is this:

I/Choreographer: Skipped 136 frames!  The application may be doing too much work on its main thread.
A/libc: @@@ ABORTING: invalid address or address of corrupt block 0x55cf6468 passed to dlfree
A/libc: Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 21257

Thanks!

Bug in InstaMaterial App: my feed, news, setting, and all features not working #44

Expected behavior

I want to open my feeds, news and regulators in the InstaMaterial app but it does not work, I try to go back to the homepage and then go back in the app but all the features do not work, which is when I press the news directly into new notifications, as well as my settings can set the available language in settings.

Actual behavior

Opening my feeds, news and settings does not work, and all the other features do not work, when I open an existing feature in the Instamaterial app all the features do not work, I have repeatedly pressed these features but it does not work too, I can only see other people's posts only, and I myself can not post my photos.

How to reproduce

  • Browser: InstaMaterial [lates version]
  • Operating system: Android v.6.0

Recording Of The Bug

https://m.youtube.com/watch?v=IJS8c0GRq4I

BaseDrawerActivity:setupHeader

seems like if I remove the code from setupHeader:

Picasso.with(this)
                .load(profilePhoto)
                .placeholder(R.drawable.photo)
                .resize(avatarSize, avatarSize)
                .centerCrop()
                .transform(new CircleTransformation())
                .into(ivMenuUserProfilePhoto);

Got stuck about a few hundred milliseconds when I first open the drawer. Don't known why

Reverse Reveal View

Hey is there any way to implement Reverse Reveal Background View.I have a FAB which opens up a fragment which implements this Reveal Background View .However when i back press it should reverse its reveal to the point of the FAB.Thanks!

how to make eidtText move with soft keyboard

Sorry to ask this question there...

But I searched a lot, Only get some thing like

android:windowSoftInputMode="adjustPan"

to make all the content move up when the keyboard pop up.

I want to know how it is compeleted to make editText move along with key board like InstaMatirial do in the CommnetActivity.

Thanks for any reply.

RecyclerView onItemClickListener

Would you say this approach for click listening is better? This way you can use ButterKnife's @OnClick inside the CellFeedViewHolder, but you have to pass it a listener.

Crash at TakePhotoActivity

Process: io.github.froger.instamaterial, PID: 6355
                                                 java.lang.RuntimeException: setParameters failed
                                                     at android.hardware.Camera.native_setParameters(Native Method)
                                                     at android.hardware.Camera.setParameters(Camera.java:2189)
                                                     at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:308)
                                                     at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:279)
                                                     at io.github.froger.instamaterial.ui.activity.TakePhotoActivity.onTakePhotoClick(TakePhotoActivity.java:160)
                                                     at io.github.froger.instamaterial.ui.activity.TakePhotoActivity$$ViewInjector$1.doClick(TakePhotoActivity$$ViewInjector.java:35)
                                                     at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
                                                     at android.view.View.performClick(View.java:4792)
                                                     at android.view.View$PerformClick.run(View.java:19938)
                                                     at android.os.Handler.handleCallback(Handler.java:739)
                                                     at android.os.Handler.dispatchMessage(Handler.java:95)
                                                     at android.os.Looper.loop(Looper.java:135)
                                                     at android.app.ActivityThread.main(ActivityThread.java:5671)
                                                     at java.lang.reflect.Method.invoke(Native Method)
                                                     at java.lang.reflect.Method.invoke(Method.java:372)
                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
       Process: io.github.froger.instamaterial, PID: 4175
                                                                              java.lang.IllegalStateException: Preview mode must have started before you can take a picture
                                                                                  at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:331)
                                                                                  at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:279)
                                                                                  at io.github.froger.instamaterial.ui.activity.TakePhotoActivity.onTakePhotoClick(TakePhotoActivity.java:153)
                                                                                  at io.github.froger.instamaterial.ui.activity.TakePhotoActivity_ViewBinding$1.doClick(TakePhotoActivity_ViewBinding.java:41)
                                                                                  at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
                                                                                  at android.view.View.performClick(View.java:5198)
                                                                                  at android.view.View$PerformClick.run(View.java:21147)
                                                                                  at android.os.Handler.handleCallback(Handler.java:739)
                                                                                  at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                  at android.os.Looper.loop(Looper.java:148)
                                                                                  at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                                                  at java.lang.reflect.Method.invoke(Native Method)
                                                                                  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                                                  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

drawer_menu actions

Hi, how i can add actions on click some elements into drawer menu?

Thanks

Warning : requestLayout() improperly called

When the likes counter is updated, this warning appears in the console.

09-18 14:47:14.751 8414-8414/io.github.froger.instamaterial W/View: requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{b2730f6 V.ED..... ......ID 0,0-143,57} during layout: running second layout pass

I also have a TextSwitcher in my RecyclerView items and when calling textSwitcher.setTextin my ItemAnimator, i also have this warning.
Would you have an idea why this is happening and how we could avoid it ?

Thanks in advance for the help !

Add a private constructor in the Utils class to hide the implicit public one.

Screenshot_20
I've used SonarQube and found this bug which is not critical but it should be fixed.
Utility classes should not have public constructors

Utility classes, which are collections of static members, are not meant to be instantiated. Even abstract utility classes, which can be extended, should not have public constructors.
Java adds an implicit public constructor to every class which does not define at least one explicitly. Hence, at least one non-public constructor should be defined.

Thank you

Application link

Is this app on play store?
So you have been release too many version but do I don't get any link of apk file.
If you provide apk from release then it will good for demo.
Thanks.

I discovered a bug in feed animation

I discovered a bug in feed animation: if you set visibility to gone on the square image view,you will find animation just happen to first feed

this is not discovered in current implementation cause first feed take the whole screen

I did that cause I need to simulate feeds that dont have image or image that its height is less than screen height

Refactor this method to not always return the same value

Screenshot_19
SonarQube is saying that methods returns should not be invariant
When a method is designed to return an invariant value, it may be poor design, but it shouldn't adversely affect the outcome of your program. However, when it happens on all paths through the logic, it is surely a bug.This rule raises an issue when a method contains several return statements that all return the same value.
Thank you

How to change the square camera to full view.

I need help with the camera layout. I am trying to implement full size camera view with the transparent panels top and bottom both. Can you guide how I can edit to to customize the camera view?

How can i change the UserProfile tabs?

all data include header,options and photos are build in just one RecyclerView In the UserProfileActivity.
How can i change the photos only when click the tabs?

java.lang.IndexOutOfBoundsException RecyclerView

Just downloaded this app, and deployed. I see Toolbar above and then this:

Android 4.0.3 device.
compileSdkVersion 23
buildToolsVersion "23.0.2"

Device: SHV-E160S

02-06 23:58:07.109 13909-13909/io.github.froger.instamaterial E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{41933fb0 position=7 id=-1, oldPos=0, pLpos:0 scrap [attachedScrap] tmpDetached not recyclable(1) no parent}
at android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:4251)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4382)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4363)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1961)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1370)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1333)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:562)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2864)
at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3071)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.support.design.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1037)
at android.support.design.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:747)
at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1156)
at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:760)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:925)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1043)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1634)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1492)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1405)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1634)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1492)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1405)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1634)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1492)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1405)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11447)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1633)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2590)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4512)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.

Enter Animation didn't work when I moved startContentAnimation() to onCreate()

In MainActivity, when I moved startContentAnimation() into onCreate():
`@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
setupFeed();

    //if (savedInstanceState == null) {
    //    pendingIntroAnimation = true;
    //} else {
    //    feedAdapter.updateItems(false);
    //}

    startContentAnimation();
}`

It supposed to play the recyclerview's enter animation after the activity created, but I found that the FeedItemAnimator's animateAdd didn't called, why?

Crash at Camera Preview

Hi ,
I am getting crash in TakePhotoActivity.

05-10 14:37:43.152 28423-28423/io.github.froger.instamaterial E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                Process: io.github.froger.instamaterial, PID: 28423
                                                                                java.lang.RuntimeException: setParameters failed
                                                                                    at android.hardware.Camera.native_setParameters(Native Method)
                                                                                    at android.hardware.Camera.setParameters(Camera.java:2015)
                                                                                    at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:308)
                                                                                    at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:279)
                                                                                    at io.github.froger.instamaterial.ui.activity.TakePhotoActivity.onTakePhotoClick(TakePhotoActivity.java:155)
                                                                                    at io.github.froger.instamaterial.ui.activity.TakePhotoActivity$$ViewBinder$1.doClick(TakePhotoActivity$$ViewBinder.java:35)
                                                                                    at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
                                                                                    at android.view.View.performClick(View.java:4785)
                                                                                    at android.view.View$PerformClick.run(View.java:19884)
                                                                                    at android.os.Handler.handleCallback(Handler.java:739)
                                                                                    at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                    at android.os.Looper.loop(Looper.java:135)
                                                                                    at android.app.ActivityThread.main(ActivityThread.java:5343)
                                                                                    at java.lang.reflect.Method.invoke(Native Method)
                                                                                    at java.lang.reflect.Method.invoke(Method.java:372)
                                                                                    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
                                                                                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)

[Question] Timber + Hugo

Just a question.. u guys really use Hugo + Timber? Is that a got option? Please, tell me more..

Content Policy

Hi ,

I use instaMaterial app . I developed it and change lots of things. When I loaded it to Google Play Store , it gave me an eror. This app is impersonates İnstagram . Has anyone else encountered this error? Or do you have any suggestion for this problem?

Thanks ,

Preview mode must have started before you can take a picture

Hi, I've installed the app and get this error when try to take a photo

E/AndroidRuntime: FATAL EXCEPTION: main
Process: io.github.froger.instamaterial, PID: 1803
java.lang.IllegalStateException: Preview mode must have started before you can take a picture
at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:331)
at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:279)
at io.github.froger.instamaterial.ui.activity.TakePhotoActivity.onTakePhotoClick(TakePhotoActivity.java:153)
at io.github.froger.instamaterial.ui.activity.TakePhotoActivity_ViewBinding$1.doClick(TakePhotoActivity_ViewBinding.java:41)
at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
at android.view.View.performClick(View.java:5265)
at android.view.View$PerformClick.run(View.java:21534)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5737)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)

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.