LalitMaganti / HoloIRC

Open source IRC client for Android.
GNU General Public License v3.0
131 stars 32 forks source link

transcriptMode="normal" doesn't keep list scroll position on orientation change #51

Closed Gosha closed 10 years ago

Gosha commented 10 years ago

^ in fragment_irc.xml and fragment_channel.xml.

Been trying to grok why this is all day with no success.

Tried making a workaround by manually doing a setSelection(mSavedPosition) in onResume() in IRCFragment with no avail.

Changing to transcriptMode="disabled" did save the scroll position but automatic scrolling on new items then of course became disabled.

LalitMaganti commented 10 years ago

Hmmmmmm. I'll take a look at this. Some awful hack might be needed - android APIs can be strange sometimes.