Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9155063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:31:43+00:00 2026-06-17T12:31:43+00:00

I am using HoloEverywhere + ActionBar Sherlock + HoloEverywhere’s sliding menu addon. When clicking

  • 0

I am using HoloEverywhere + ActionBar Sherlock + HoloEverywhere’s sliding menu addon. When clicking an item in the sliding menu, I start various activities.

My problem is to implement what Cyril Mottier talks about in his article about Prixing’s SlidingMenu:
– overriding activity transitions (that’s the easy part)
– saving/restoring the menu state between activities (that’s what I can’t manage to do): currently the menu disappears and it does not feel right. I would like to save the menu state and when the next activity starts, restore that state (and animate the close of the menu for instance)

Cyril talks about using the view’s saveHierarchyState, …:

The Activity transition in the Prixing application relies on the exact same technique the Android framework uses to restore an Activity after it has been destroyed in low memory conditions. As a result, everytime a new Activity needs to be opened, we save the the interesting part of the current UI state using View#onSaveInstanceState()/View#saveHierarchyState(SparseArray<Parcelable>) and re-apply it to the newly created Activity thanks to View#onRestoreInstanceState(Parcelable)/View#restoreHierarchyState(SparseArray<Parcelable>)

However I have trouble seeing how to implement that? Would anyone have any clue?

My activities all inherit from a base activity class which keeps its instance of the sliding menu.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:31:44+00:00Added an answer on June 17, 2026 at 12:31 pm

    See SlidingMenu issue

    You can update code from the last version of SlidingMenu to same module of HoloEverywhere.
    Or wait 1.4.3, where this module will be updated by me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using HoloEveryWhere Library with Holo.Theme.Sherlock.Light as the parent theme. I am also
I am trying to implement a DialogFragment using HoloEverywhere. But the border of the
I'm using Christophe Versiuex's HoloEverywhere library in concert with ActionBarSherlock to display an ICS
Using MATLAB, you have to start with a uniform distribution between (0,1). You need
I am using ChristopheVersieux's HoloEverywhere library in my Android project. Everything is fine except
Using jQuery UI Resizable I'm trying to prevent resizing based on various rules. The
using VB.Net2010 I need to call a C# DLL The problem I have is
Using intents to communicate between two activities seems not straightforward. Regardless of where (probably
Hi I'm trying to make my app backwards compatible using holoeverywhere. In my app
I am using the SeekBar class provided by HoloEverywhere. I have the following imports:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.