具有不同UI的单个应用程序,具体取决于用户的角色 [英] Single application with different UIs depending on the user's role

查看:128
本文介绍了具有不同UI的单个应用程序,具体取决于用户的角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将使用Android应用程序在组织内部使用。

四种不同类型的用户类别将使用该应用程序,登录后,每个用户将根据其角色查看和交互界面。

I will be working on Android application to be used inside an organization.
Four different types of users categories will use the application and upon login, each user will see and interact with interfaces depending on his role.

我熟悉-well-常规Android应用程序,但不熟悉具有不同UI和逻辑的应用程序,具体取决于用户的角色。

I'm familiar with -well- regular Android applications but not with applications that have different UIs and logic depending on the user's role.

如何实现这种应用程序?规范文档说它必须是一个单独的应用程序(而不是四个)。

How to implement this kind of applications? The specification document says it has to be one single application (not four).

推荐答案

您可能只有一个登录活动,并在成功登录后发送给四个不同的用户活动。

You may have a single Login Activity and dispatch to four diferent User Activities after succesfull login.

这篇关于具有不同UI的单个应用程序,具体取决于用户的角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆