Coder Social home page Coder Social logo

staggeredgridviewdemo's People

Contributors

maurycyw 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

staggeredgridviewdemo's Issues

Expandable GridView like Google images for Android

First of all, I would like to thank you for giving us a great custom view StaggeredGridView.

In my android app I require Expandable GridView of Images like Google Images. On selecting image from Gridview will enlarge the image and adjust between rows of the grid.

Plz help me for the same. Provide sample demo if possible.

Thanks in advance.

It crashes when you flip the phone

04-03 18:53:28.477: ERROR/LocationManagerService(438): add listener to CarGpsProvider to provide NMEA
04-03 18:59:30.417: ERROR/NotificationService(438): Ignoring notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=nullnull defaults=0x0 flags=0x62 kind=[null])
04-03 18:59:45.747: ERROR/Settings:###(25108): onApplyThemeResource...
04-03 18:59:45.782: ERROR/HtcPreferenceActivity(25108): context.getClassLoader(): dalvik.system.PathClassLoader[/system/app/Settings.apk]
04-03 18:59:45.782: ERROR/HtcPreferenceActivity(25108): context.getPackageName(): com.android.settings
04-03 18:59:45.782: ERROR/HtcPreferenceActivity(25108): context.getPackageCodePath(): /system/app/Settings.apk
04-03 18:59:45.782: ERROR/HtcPreferenceActivity(25108): context.getPackageResourcePath(): /system/app/Settings.apk
04-03 18:59:45.782: ERROR/HtcPreferenceActivity(25108): fragmentName: com.android.settings.applications.InstalledAppDetails
04-03 18:59:49.717: ERROR/InputDispatcher(438): channel '4189df28 com.jenxsol.staggeredgridview/com.jenxsol.staggeredgridview.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
04-03 18:59:50.802: ERROR/ExternalAccountType(770): Unsupported attribute readOnly
04-03 18:59:50.847: ERROR/ContentService(438): Content Service Crash
java.lang.NullPointerException
at android.accounts.AccountAndUser.hashCode(AccountAndUser.java:43)
at java.util.HashMap.get(HashMap.java:298)
at android.content.SyncStorageEngine.getOrCreateAuthorityLocked(SyncStorageEngine.java:1389)
at android.content.SyncStorageEngine.setSyncAutomatically(SyncStorageEngine.java:488)
at android.content.ContentService.setSyncAutomatically(ContentService.java:318)
at android.content.IContentService$Stub.onTransact(IContentService.java:165)
at android.content.ContentService.onTransact(ContentService.java:121)
at android.os.Binder.execTransact(Binder.java:367)
at dalvik.system.NativeStart.run(Native Method)
04-03 18:59:53.012: ERROR/NotificationService(438): Ignoring notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=nullnull defaults=0x0 flags=0x62 kind=[null])
04-03 19:00:03.387: ERROR/Settings:###(25108): onApplyThemeResource...
04-03 19:00:03.697: ERROR/Settings:HtcWrapHeaderInfo(25108): no such activity!
04-03 19:00:08.272: ERROR/Settings:###(25108): onApplyThemeResource...
04-03 19:00:08.292: ERROR/HtcPreferenceActivity(25108): context.getClassLoader(): dalvik.system.PathClassLoader[/system/app/Settings.apk]
04-03 19:00:08.292: ERROR/HtcPreferenceActivity(25108): context.getPackageName(): com.android.settings
04-03 19:00:08.292: ERROR/HtcPreferenceActivity(25108): context.getPackageCodePath(): /system/app/Settings.apk
04-03 19:00:08.292: ERROR/HtcPreferenceActivity(25108): context.getPackageResourcePath(): /system/app/Settings.apk
04-03 19:00:08.292: ERROR/HtcPreferenceActivity(25108): fragmentName: com.android.settings.DevelopmentSettings
04-03 19:00:08.367: ERROR/Cryptfs(134): not running with encryption, aborting
04-03 19:00:08.432: ERROR/Cryptfs(134): not running with encryption, aborting
04-03 19:00:08.632: ERROR/Cryptfs(134): not running with encryption, aborting
04-03 19:00:15.122: ERROR/Settings:###(25108): onApplyThemeResource...
04-03 19:00:15.147: ERROR/HtcPreferenceActivity(25108): context.getClassLoader(): dalvik.system.PathClassLoader[/system/app/Settings.apk]
04-03 19:00:15.147: ERROR/HtcPreferenceActivity(25108): context.getPackageName(): com.android.settings
04-03 19:00:15.147: ERROR/HtcPreferenceActivity(25108): context.getPackageCodePath(): /system/app/Settings.apk
04-03 19:00:15.147: ERROR/HtcPreferenceActivity(25108): context.getPackageResourcePath(): /system/app/Settings.apk
04-03 19:00:15.147: ERROR/HtcPreferenceActivity(25108): fragmentName: com.android.settings.framework.activity.developer.HtcDeveloperAdvanceSettings
04-03 19:01:29.397: ERROR/Cryptfs(134): not running with encryption, aborting
04-03 19:01:47.362: ERROR/Cryptfs(134): not running with encryption, aborting
04-03 19:01:47.377: ERROR/Cryptfs(134): not running with encryption, aborting
04-03 19:01:48.662: ERROR/NotificationService(438): Ignoring notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=nullnull defaults=0x0 flags=0x62 kind=[null])
04-03 19:01:50.082: ERROR/Cryptfs(134): not running with encryption, aborting
04-03 19:02:10.007: ERROR/NotificationService(438): Ignoring notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=nullnull defaults=0x0 flags=0x62 kind=[null])
04-03 19:02:10.267: ERROR/TelephonyManager(25562): Hidden constructor called more than once per process!
04-03 19:02:10.267: ERROR/TelephonyManager(25562): Original: com.htc.flexnet, new: com.htc.autobot
04-03 19:02:11.757: ERROR/PeopleApp(26241): DialerService connected !
04-03 19:02:11.857: ERROR/ExternalAccountType(26241): Unsupported attribute readOnly
04-03 19:02:11.922: ERROR/ExternalAccountType(26241): Unsupported attribute readOnly
04-03 19:02:11.982: ERROR/ExternalAccountType(26241): Unsupported attribute readOnly
04-03 19:02:12.047: ERROR/ExternalAccountType(26241): Unsupported attribute readOnly
04-03 19:02:12.207: ERROR/ExternalAccountType(26241): Unsupported attribute readOnly
04-03 19:02:12.992: ERROR/NotificationService(438): Ignoring notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=nullnull defaults=0x0 flags=0x62 kind=[null])
04-03 19:02:13.012: ERROR/NotificationService(438): Ignoring notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=nullnull defaults=0x0 flags=0x62 kind=[null])
04-03 19:02:13.502: ERROR/NotificationService(438): Ignoring notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=nullnull defaults=0x0 flags=0x62 kind=[null])
04-03 19:02:16.627: ERROR/HtcModeClient(25562): Check connection and retry 1 times.
04-03 19:02:16.757: ERROR/ExternalAccountType(26241): Unsupported attribute readOnly
04-03 19:02:16.812: ERROR/ExternalAccountType(770): Unsupported attribute readOnly
04-03 19:02:17.402: ERROR/ContentService(438): Content Service Crash
java.lang.NullPointerException
at android.accounts.AccountAndUser.hashCode(AccountAndUser.java:43)
at java.util.HashMap.get(HashMap.java:298)
at android.content.SyncStorageEngine.getOrCreateAuthorityLocked(SyncStorageEngine.java:1389)
at android.content.SyncStorageEngine.setSyncAutomatically(SyncStorageEngine.java:488)
at android.content.ContentService.setSyncAutomatically(ContentService.java:318)
at android.content.IContentService$Stub.onTransact(IContentService.java:165)
at android.content.ContentService.onTransact(ContentService.java:121)
at android.os.Binder.execTransact(Binder.java:367)
at dalvik.system.NativeStart.run(Native Method)
04-03 19:02:21.652: ERROR/HtcModeClient(25562): Check connection and retry 2 times.
04-03 19:02:26.687: ERROR/HtcModeClient(25562): Check connection and retry 3 times.
04-03 19:02:29.757: ERROR/StaggeredGridView(26510): onInterceptTouchEvent could not find pointer with id 0 - did StaggeredGridView receive an inconsistent event stream?
04-03 19:02:29.772: ERROR/StaggeredGridView(26510): onInterceptTouchEvent could not find pointer with id 0 - did StaggeredGridView receive an inconsistent event stream?
04-03 19:02:29.792: ERROR/StaggeredGridView(26510): onInterceptTouchEvent could not find pointer with id 0 - did StaggeredGridView receive an inconsistent event stream?
04-03 19:02:29.807: ERROR/StaggeredGridView(26510): onInterceptTouchEvent could not find pointer with id 0 - did StaggeredGridView receive an inconsistent event stream?
04-03 19:02:31.732: ERROR/HtcModeClient(25562): Check connection and retry 4 times.
04-03 19:02:31.777: ERROR/AndroidRuntime(26510): FATAL EXCEPTION: main
java.lang.ArrayIndexOutOfBoundsException: length=2; index=2
at com.origamilabs.library.views.StaggeredGridView.onSaveInstanceState(StaggeredGridView.java:1816)
at android.view.View.dispatchSaveInstanceState(View.java:11934)
at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2567)
at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2573)
at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2573)
at android.view.View.saveHierarchyState(View.java:11917)
at com.android.internal.policy.impl.PhoneWindow.saveHierarchyState(PhoneWindow.java:1689)
at android.app.Activity.onSaveInstanceState(Activity.java:1221)
at android.app.Activity.performSaveInstanceState(Activity.java:1170)
at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1317)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4006)
at android.app.ActivityThread.access$700(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1337)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:155)
at android.app.ActivityThread.main(ActivityThread.java:5485)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:795)
at dalvik.system.NativeStart.main(Native Method)
04-03 19:02:31.797: ERROR/EmbeddedLogger(438): App crashed! Process: com.example.staggeredgridviewdemo
04-03 19:02:31.797: ERROR/EmbeddedLogger(438): App crashed! Package: com.example.staggeredgridviewdemo v1 (1.0)
04-03 19:02:31.807: ERROR/EmbeddedLogger(438): Application Label: StaggeredGridViewDemo
04-03 19:02:36.732: ERROR/HtcModeClient(25562): Check connection and retry 5 times.
04-03 19:02:41.747: ERROR/HtcModeClient(25562): Check connection and retry 6 times.
04-03 19:02:46.777: ERROR/HtcModeClient(25562): Check connection and retry 7 times.
04-03 19:02:51.807: ERROR/HtcModeClient(25562): Check connection and retry 8 times.
04-03 19:02:56.827: ERROR/HtcModeClient(25562): Check connection and retry 9 times.
04-03 19:03:01.852: ERROR/HtcModeClient(25562): Check connection and retry 10 times.
04-03 19:03:06.877: ERROR/HtcModeClient(25562): Check connection and retry 11 times.
04-03 19:03:11.907: ERROR/HtcModeClient(25562): Check connection and retry 12 times.

Drag only in one direction

It appears that you can only drag the control in one direction. There isn't any documentation for using the control to drag in both directions.

Refresh photo

I have a problem is,
if I refresh the new photo from my server.
the app photo still have not update to the new photo.
how can I fix this problem?

android.view.InflateException

I try it many times but it give me errors...

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.staggeredgridviewdemo/com.example.staggeredgridviewdemo.MainActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class com.origamilabs.library.views.StaggeredGridView

Can you Please send me 1 full source code example with library?
If possible then Please mail me:[email protected]

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.