user interface - Revolver/Widget UI in Android -


i have problem ui development in android.

in c++ in desktop environment have 1 main application , widgets. widgets initialized on start , stay hidden long show command. every widget stay @ position, not reset forms, etc. pp.

android seems follow type of "widget implementation" , don't behind secret.

what want achieve:
need (g)ui android api 21 or higher behaves "desktop" application.

mainpage has 4 buttons:

  1. list
  2. add
  3. news
  4. info

each button present widget.

list has:

  • textviews visualize datasets
  • edit button leads "add"-form dataset

add has:

  • a form dataset

news has:

  • textviews last 10 datasets.

info has:

  • textviews app information.

my first implementation have 1 activity , 1 layout file. each widget scrollview. mainpage buttons have toggled visibility of scrollviews.

my second implementation have 1 activity , 1 layout file each scrollview , it's own java class.

after discovering fragment mechanism today third try , "failed" too.

i don't want every time user clicks button create fragment on again arguments behave desktop app. did missed something?

another problem have orientation change. seems android starting app on again?! tries above "crashed" @ orientation change. android auto-resets visibilities, input fields, etc. pp. how prevent type of auto-reset behaviour without losing auto orientation change behaviour?

hopefully i've explained problem or misunderstanding android ui development enough.

kind regards, pixtar


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -